File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -30,13 +30,20 @@ jobs:
30
30
- name : Run Maven Release
31
31
run : mvn clean install && mvn io.github.zorin95670:semantic-version:${{ steps.get_version.outputs.version }}:release
32
32
33
+ - name : Setup git for pushing
34
+ run : |
35
+ git config user.name "github-actions[bot]"
36
+ git config user.email "github-actions[bot]@users.noreply.github.com"
37
+ git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/Zorin95670/semantic-version.git
38
+
33
39
- name : Push commit and tags
34
40
run : |
35
41
git push origin main
36
42
git push origin --tags
37
43
env :
38
44
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
45
46
+
40
47
- name : Import GPG Key
41
48
run : |
42
49
echo "${{ secrets.GPG_PRIVATE_KEY }}" | gpg --batch --no-tty --import
You can’t perform that action at this time.
0 commit comments