From a6157694f55dbdd14f73739fbbfdd0237eefc3f6 Mon Sep 17 00:00:00 2001 From: Vladislav Tupikin Date: Mon, 30 Oct 2023 12:24:23 +0300 Subject: [PATCH] #288 Update GitHub Actions Pipeline Due to Deprecated set-output Command (#289) --- .github/workflows/publish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f712277f1..718ec145a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -65,7 +65,7 @@ jobs: publish-docs: name: Docs publish needs: - - test_integration + - publish runs-on: self-hosted steps: - name: Checkout code @@ -86,7 +86,7 @@ jobs: - name: Extract version id: pkg - run: echo "::set-output name=version::$(node -p "require('./package.json').version")" + run: echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV - name: Checkout docs branch uses: actions/checkout@v4 @@ -103,5 +103,5 @@ jobs: git config user.name "GitHub Actions" git config user.email "actions@github.com" git add . - git commit -m "Update documentation for version v${{ steps.pkg.outputs.version }}" + git commit -m "Update documentation for version v${{ env.VERSION }}" git push