Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

ci: Use GITHUB_OUTPUT envvar instead of set-output command #5430

Closed
wants to merge 8 commits into from
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "dir=$(yarn cache dir)" >> ${{ runner.os == 'windows-latest' && '$env:GITHUB_OUTPUT' || '$GITHUB_OUTPUT' }}
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
Expand Down
Loading