Skip to content

Commit

Permalink
[GHA] Use maven wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
hazendaz committed Oct 21, 2023
1 parent 64e9a7f commit 61bd9f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
cache: maven

- name: Build with Maven
run: mvn -B verify
run: ./mvnw -B verify

- name: Upload code coverage to Codecov
uses: codecov/codecov-action@v3
Expand All @@ -49,7 +49,7 @@ jobs:
cache: maven

- name: Test with Maven
run: mvn -B test
run: ./mvnw -B test

deploy:
name: Deploy to OSSRH
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Publish Maven package
run: mvn -Possrh-deploy deploy
run: ./mvnw -Possrh-deploy deploy
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.gpg_passphrase }}
MAVEN_USERNAME: ${{ secrets.nexus_username }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cache: maven

- name: Build with Maven
run: mvn -B site
run: ./mvnw -B site

- name: Publish site to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
Expand Down

0 comments on commit 61bd9f3

Please sign in to comment.