Skip to content

Commit

Permalink
Use Maven Wrapper in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ebaron authored Nov 21, 2023
1 parent c072c4f commit 7c159b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ jobs:
distribution: 'temurin'
cache: maven
- name: Run a build of the code base before release
run: mvn --batch-mode --no-transfer-progress clean install
run: ./mvnw --batch-mode --no-transfer-progress clean install
- name: Set release version
run: mvn --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.inputs.version }}
run: ./mvnw --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.inputs.version }}
- name: Commit & Push changes
uses: actions-js/[email protected]
with:
Expand All @@ -45,7 +45,7 @@ jobs:
JRELEASER_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./release.sh
- name: Set the next release version
run: mvn --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.inputs.nextVersion }}-SNAPSHOT
run: ./mvnw --batch-mode --no-transfer-progress versions:set -DnewVersion=${{ github.event.inputs.nextVersion }}-SNAPSHOT
- name: Commit & Push changes
uses: actions-js/[email protected]
with:
Expand Down

0 comments on commit 7c159b1

Please sign in to comment.