Skip to content

Commit 1f1dffd

Browse files
committed
build: use $GITHUB_OUTPUT for environment list
1 parent b4ee44b commit 1f1dffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ jobs:
170170
echo "node@$(node -v)"
171171
echo "npm@$(npm -v)"
172172
npm -s ls ||:
173-
(npm -s ls --depth=0 ||:) | awk -F'[ @]' 'NR>1 && $2 { print "::set-output name=" $2 "::" $3 }'
173+
(npm -s ls --depth=0 ||:) | awk -F'[ @]' 'NR>1 && $2 { print $2 "=" $3 }' >> "$GITHUB_OUTPUT"
174174
175175
- name: Run tests
176176
shell: bash

0 commit comments

Comments
 (0)