From 16352bb09bc672a073e326c2cc1d3d7d2a3e577e Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 25 Oct 2022 16:37:59 +0200 Subject: [PATCH] Get rid of warnings for set-output (#607) --- .github/workflows/versions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/versions.yml b/.github/workflows/versions.yml index 9a138eb..0472e64 100644 --- a/.github/workflows/versions.yml +++ b/.github/workflows/versions.yml @@ -178,7 +178,7 @@ jobs: - name: Get node version run: | latestNodeVersion=$(curl https://nodejs.org/dist/index.json | jq -r '. [0].version') - echo "::set-output name=LATEST_NODE_VERSION::$latestNodeVersion" + echo "LATEST_NODE_VERSION=$latestNodeVersion" >> $GITHUB_OUTPUT id: version shell: bash - uses: actions/checkout@v3 @@ -189,7 +189,7 @@ jobs: - name: Retrieve version after install run: | updatedVersion=$(echo $(node --version)) - echo "::set-output name=NODE_VERSION_UPDATED::$updatedVersion" + echo "NODE_VERSION_UPDATED=$updatedVersion" >> $GITHUB_OUTPUT id: updatedVersion shell: bash - name: Compare versions