Skip to content

Commit

Permalink
#288 Update GitHub Actions Pipeline Due to Deprecated set-output Comm…
Browse files Browse the repository at this point in the history
…and (#289)
  • Loading branch information
MrRefactoring committed Oct 30, 2023
1 parent 7d8bffb commit a615769
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
publish-docs:
name: Docs publish
needs:
- test_integration
- publish
runs-on: self-hosted
steps:
- name: Checkout code
Expand All @@ -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
Expand All @@ -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

0 comments on commit a615769

Please sign in to comment.