Fix maven commands (#167)

This commit is contained in:
Michael Barry
2024-06-02 07:15:45 -04:00
committed by GitHub
parent f17cffe57e
commit 632c2b7dc8

View File

@@ -48,10 +48,10 @@ jobs:
# Skip spotless since that gets checked in a separate task # Skip spotless since that gets checked in a separate task
- name: Build with mvnw (linux/mac) - name: Build with mvnw (linux/mac)
if: ${{ !contains(matrix.os, 'windows') }} if: ${{ !contains(matrix.os, 'windows') }}
run: ./mvnw ${{matrix.args}} -Dspotless.check.skip --batch-mode -no-transfer-progress package verify jib:buildTar --file pom.xml run: ./mvnw ${{matrix.args}} -Dspotless.check.skip --batch-mode -no-transfer-progress verify jib:buildTar --file pom.xml
- name: Build with mvnw.cmd (windows) - name: Build with mvnw.cmd (windows)
if: ${{ contains(matrix.os, 'windows') }} if: ${{ contains(matrix.os, 'windows') }}
run: mvnw.cmd ${{matrix.args}} -Dspotless.check.skip --batch-mode -no-transfer-progress package verify jib:buildTar --file pom.xml run: mvnw.cmd ${{matrix.args}} -Dspotless.check.skip --batch-mode -no-transfer-progress verify jib:buildTar --file pom.xml
shell: cmd shell: cmd
regenerate: regenerate:
@@ -127,7 +127,7 @@ jobs:
cache: 'maven' cache: 'maven'
- name: Build and test this branch - name: Build and test this branch
working-directory: planetiler working-directory: planetiler
run: ./mvnw -Dimage.version=CI_ONLY --batch-mode -no-transfer-progress verify package jib:dockerBuild --file pom.xml run: ./mvnw -Dimage.version=CI_ONLY --batch-mode -no-transfer-progress verify jib:dockerBuild --file pom.xml
- name: 'Download data (java)' - name: 'Download data (java)'
working-directory: planetiler working-directory: planetiler
run: java -jar planetiler-dist/target/*with-deps.jar --only-download --area=monaco run: java -jar planetiler-dist/target/*with-deps.jar --only-download --area=monaco