File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 3434 id : get_version
3535 run : echo ::set-output name=version::$(node -p "require('./package.json').version")
3636
37+ - name : Config git
38+ run : |
39+ git config --global user.email "ci-build@aemforms"
40+ git config --global user.name "ci-build"
41+ env :
42+ GITHUB_TOKEN : ${{ secrets.ADOBE_GH_TOKEN }}
43+ GH_TOKEN : ${{ secrets.ADOBE_GH_TOKEN }}
44+
3745 - name : Bump version
3846 id : bump_version
3947 run : |
@@ -48,13 +56,15 @@ jobs:
4856
4957 - name : Commit and push changes
5058 run : |
51- git config --global user.email "ci-build@aemforms"
52- git config --global user.name "ci-build"
5359 git add package.json
5460 git commit -m "Bump version to ${{ steps.bump_version.outputs.new_version }}"
61+ env :
62+ GITHUB_TOKEN : ${{ secrets.ADOBE_GH_TOKEN }}
63+ GH_TOKEN : ${{ secrets.ADOBE_GH_TOKEN }}
5564
5665 - name : Publish to npm
5766 run : |
67+ npm config set //registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}
5868 npm publish --access public
5969 git push origin HEAD:main
6070 env :
You can’t perform that action at this time.
0 commit comments