File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1010 description : Version to release
1111 required : true
1212
13+ permissions :
14+ contents : write
15+
1316jobs :
1417 build :
1518
1619 runs-on : ubuntu-latest
1720
1821 steps :
1922 - uses : actions/checkout@v3
23+ - uses : git-actions/set-user@v1
2024 - name : Set up JDK 11
2125 uses : actions/setup-java@v3
2226 with :
2832 gpg-passphrase : MAVEN_GPG_PASSPHRASE
2933 server-username : MAVEN_USERNAME
3034 server-password : MAVEN_CENTRAL_TOKEN
31- - name : Setup git profile
32- run : |
33- git config --global user.name "github-actions[bot]"
34- git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
3535 - name : Maven release
3636 run : mvn release:prepare release:perform -B -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -Possrh
3737 env :
You can’t perform that action at this time.
0 commit comments