-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#288 Update GitHub Actions Pipeline Due to Deprecated set-output Comm…
…and (#289)
- Loading branch information
1 parent
7d8bffb
commit a615769
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 "[email protected]" | ||
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 |