8000 chore: remove deprecated `set-output` from actions (#5823) · adnanhashmi09/typescript-eslint@7699379 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7699379

Browse files
authored
chore: remove deprecated set-output from actions (typescript-eslint#5823)
1 parent 96d1032 commit 7699379

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/actions/prepare-install/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ runs:
2626
- name: Get yarn cache directory path
2727
shell: bash
2828
id: yarn-cache-dir-path
29-
run: echo "::set-output name=dir::$(yarn cache dir)"
29+
run: echo "yarn_cache_dir=$(yarn cache dir)" >> $GITHUB_ENV
3030

3131
- uses: actions/cache@v3
3232
id: yarn-cache
3333
with:
3434
path: |
35-
${{ steps.yarn-cache-dir-path.outputs.dir }}
35+
${{ env.yarn_cache_dir }}
3636
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
3737
restore-keys: |
3838
${{ runner.os }}-yarn-

0 commit comments

Comments
 (0)
0