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 4040 uses : actions/checkout@v3
4141 with :
4242 fetch-depth : 0 # required by previous_tag
43+ ref : ${{ github.head_ref }}
44+ token : ${{ secrets.SCB_BOT_USER_TOKEN }}
4345
4446 - name : Set up JDK 17
4547 uses : actions/setup-java@v3
9698 sed -i -e "s@\(<version>\)\([0-9].[0-9].[0-9]\(-[A-z0-9]*\)*\)\(</version>\)@\1${{ steps.extract-version.outputs.MVN_VERSION }}\4@g" README.md
9799 sed -i -e "s@\(version: '\)\([0-9].[0-9].[0-9]\(-[A-z0-9]*\)*\)\('\)@\1${{ steps.extract-version.outputs.MVN_VERSION }}\4@g" README.md
98100 git add README.md
99- git commit -S -m "Update version in README"
101+ git commit -Ss -m "Update version in README"
100102 git push
101- env :
102- GITHUB_TOKEN : ${{ secrets.SCB_BOT_USER_TOKEN }}
103103
104104 # Required for creation of GitHub release
105105 - name : " Get previous tag"
You can’t perform that action at this time.
0 commit comments