We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0002f43 commit c67bca5Copy full SHA for c67bca5
.github/workflows/release.yml
@@ -5,6 +5,8 @@ on:
5
jobs:
6
release_maven_package:
7
runs-on: ubuntu-latest
8
+ permissions:
9
+ contents: write
10
steps:
11
- name: Validate branch
12
if: ${{ github.ref != 'refs/heads/master' }}
@@ -23,9 +25,15 @@ jobs:
23
25
server-username: ${{ secrets.OSSRH_USERNAME }}
24
26
server-password: ${{ secrets.OSSRH_PASSWORD }}
27
28
+ - name: Configure git config
29
+ run: |
30
+ git config --global user.name 'Gary Bot 2'
31
+ git config --global user.email '[email protected]'
32
+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
33
+
34
- name: Maven release
35
run: |
- mvn \
36
+ mvn \
37
-e \
38
-B \
39
-P release \
0 commit comments