Skip to content

Commit f9dbfb9

Browse files
committed
Use Maven wrapper with actions
1 parent 8230970 commit f9dbfb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
cache: 'maven'
2828

2929
- name: Build with Maven
30-
run: mvn test
30+
run: ./mvnw test
3131

3232
deploy-snapshot:
3333
runs-on: ubuntu-latest
@@ -48,7 +48,7 @@ jobs:
4848
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
4949

5050
- name: Deploy Snapshot
51-
run: mvn -B --no-transfer-progress -Pmaven-central-release -Prelease-sign-artifacts -DskipTests=true deploy
51+
run: ./mvnw -B --no-transfer-progress -Pmaven-central-release -Prelease-sign-artifacts -DskipTests=true deploy
5252
env:
5353
CENTRAL_USERNAME: ${{ secrets.CENTRAL_USERNAME }}
5454
CENTRAL_PASSWORD: ${{ secrets.CENTRAL_PASSWORD }}

0 commit comments

Comments
 (0)