File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 steps :
1010 - name : Checkout code
1111 uses : actions/checkout@v4
12+ with :
13+ token : ${{ secrets.GITHUB_TOKEN }}
1214
1315 - name : Set up JDK 17
1416 uses : actions/setup-java@v4
@@ -42,10 +44,14 @@ jobs:
4244 folder : build/repo
4345 target-folder : connectorapi/jar
4446
45- - name : Create Git tag
47+ - name : Configure Git for tagging
4648 run : |
4749 git config --local user.email "action@github.com"
4850 git config --local user.name "GitHub Action"
51+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
52+
53+ - name : Create and push Git tag
54+ run : |
4955 git tag -a "${{ steps.extract_version.outputs.version }}" -m "Release version ${{ steps.extract_version.outputs.version }}"
5056 git push origin "${{ steps.extract_version.outputs.version }}"
5157 env :
You can’t perform that action at this time.
0 commit comments