From 9e0b1dfee19007c73a06bc0d4594ff0543fa45e3 Mon Sep 17 00:00:00 2001 From: Andrea Carraro Date: Fri, 28 Apr 2023 21:27:14 +0200 Subject: [PATCH] refactor: replace set-output with (#57) --- .github/workflows/node-test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node-test.yaml b/.github/workflows/node-test.yaml index bc1b0ba..59ee4d0 100644 --- a/.github/workflows/node-test.yaml +++ b/.github/workflows/node-test.yaml @@ -164,9 +164,9 @@ jobs: run: | if [ -f package-lock.json ] || [ -f npm-shrinkwrap.json ] || [ -f yarn.lock ] then - echo "::set-output name=install-command::npm ci" + echo "install-command=npm ci" >> $GITHUB_OUTPUT else - echo "::set-output name=install-command::npm install" + echo "install-command=npm install" >> $GITHUB_OUTPUT fi - name: Install dependencies @@ -201,7 +201,7 @@ jobs: ) # output the merged variables - echo "::set-output name=env-vars::${MERGED_VARS}" + echo "env-vars=${MERGED_VARS}" >> $GITHUB_OUTPUT env: INPUT_VARS: ${{ secrets.test-secrets || '{}' }}