Skip to content

Commit 9e0b1df

Browse files
refactor: replace set-output with (#57)
1 parent 065c6b2 commit 9e0b1df

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/node-test.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ jobs:
164164
run: |
165165
if [ -f package-lock.json ] || [ -f npm-shrinkwrap.json ] || [ -f yarn.lock ]
166166
then
167-
echo "::set-output name=install-command::npm ci"
167+
echo "install-command=npm ci" >> $GITHUB_OUTPUT
168168
else
169-
echo "::set-output name=install-command::npm install"
169+
echo "install-command=npm install" >> $GITHUB_OUTPUT
170170
fi
171171
172172
- name: Install dependencies
@@ -201,7 +201,7 @@ jobs:
201201
)
202202
203203
# output the merged variables
204-
echo "::set-output name=env-vars::${MERGED_VARS}"
204+
echo "env-vars=${MERGED_VARS}" >> $GITHUB_OUTPUT
205205
env:
206206
INPUT_VARS: ${{ secrets.test-secrets || '{}' }}
207207

0 commit comments

Comments
 (0)