Skip to content

Commit 43ed5c9

Browse files
committed
Build: Stop using ::set-output in GitHub Actions
The `set-output` workflow is deprecated in favor of using environment variables, see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
1 parent 360259e commit 43ed5c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Get npm cache directory
2626
id: npm-cache-dir
2727
run: |
28-
echo "::set-output name=dir::$(npm config get cache)"
28+
echo "dir=\"$(npm config get cache)\"" >> $GITHUB_OUTPUT
2929
3030
- name: Cache npm dependencies
3131
uses: actions/cache@v3

0 commit comments

Comments
 (0)