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 6565publish-docs :
6666name : Docs publish
6767needs :
68- - test_integration
68+ - publish
6969runs-on : self-hosted
7070steps :
7171 - name : Checkout code
8686
8787 - name : Extract version
8888id : 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
9292uses : actions/checkout@v4
@@ -103,5 +103,5 @@ jobs:
103103 git config user.name "GitHub Actions"
104104 git config user.email "[email protected] " 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