File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 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
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
You can’t perform that action at this time.
0 commit comments