Skip to content

Commit 89374f0

Browse files
committed
ci: use maven wrapper instead of preinstalled maven
Signed-off-by: Armin Schrenk <armin.schrenk@skymatic.de>
1 parent 51ab00c commit 89374f0

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
github-token: ${{ secrets.GITHUB_TOKEN }}
2727
- name: Build and Test
2828
run: >
29-
mvn -B clean verify
29+
./mvnw -B clean verify
3030
- name: Upload reports
3131
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
3232
with:

‎.github/workflows/native-image.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
github-token: ${{ secrets.GITHUB_TOKEN }}
2424
- name: Ensure to use tagged version
2525
if: startsWith(github.ref, 'refs/tags/')
26-
run: mvn versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
26+
run: ./mvnw versions:set --file ./pom.xml -DnewVersion=${GITHUB_REF##*/}
2727
- name: Build develop native image
2828
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
2929
run: >
30-
mvn -B clean package -Pnative
30+
./mvnw -B clean package -Pnative
3131
- name: Build release native image
3232
if: startsWith(github.ref, 'refs/tags/')
3333
run: >
34-
mvn -B clean package -Pnative,release
34+
./mvnw -B clean package -Pnative,release
3535
- name: Create detached GPG signatures with key 615D449FE6E6A235
3636
run: |
3737
echo "${GPG_PRIVATE_KEY}" | gpg --batch --quiet --import

0 commit comments

Comments
 (0)