Skip to content

Commit 3faafd9

Browse files
committed
Fix GH Actions release script (attempt #N+4)
1 parent e082104 commit 3faafd9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch
55

66
jobs:
7-
deploy:
7+
build:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
@@ -22,12 +22,13 @@ jobs:
2222

2323
- name: Setup git profile
2424
run: |
25-
git config user.name "github-actions[bot]"
26-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
25+
git config --global user.name "github-actions[bot]"
26+
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2727
2828
- name: Release new version
29-
run: mvn -Dmaven.test.skip=true -Darguments=-DskipTests -ntp -B release:clean release:prepare release:perform -P release
29+
run: mvn clean -Darguments=-DskipTests -ntp -B release:clean release:prepare release:perform -P release
3030
env:
3131
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
3232
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
3333
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
34+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)