Skip to content

Commit a615769

Browse files
MrRefactoring#288 Update GitHub Actions Pipeline Due to Deprecated set-output Command (MrRefactoring#289)
1 parent 7d8bffb commit a615769

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
publish-docs:
6666
name: Docs publish
6767
needs:
68-
- test_integration
68+
- publish
6969
runs-on: self-hosted
7070
steps:
7171
- name: Checkout code
@@ -86,7 +86,7 @@ jobs:
8686

8787
- name: Extract version
8888
id: pkg
89-
run: echo "::set-output name=version::$(node -p "require('./package.json').version")"
89+
run: echo "VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
9090

9191
- name: Checkout docs branch
9292
uses: actions/checkout@v4
@@ -103,5 +103,5 @@ jobs:
103103
git config user.name "GitHub Actions"
104104
git config user.email "actions@github.com"
105105
git add .
106-
git commit -m "Update documentation for version v${{ steps.pkg.outputs.version }}"
106+
git commit -m "Update documentation for version v${{ env.VERSION }}"
107107
git push

0 commit comments

Comments
 (0)