Skip to content

Commit

Permalink
Avoid CI build log flooding with maven --no-transfer-progress flag
Browse files Browse the repository at this point in the history
  • Loading branch information
groldan committed Dec 6, 2023
1 parent 3c12ed7 commit bd65432
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven.yaml
Expand Up @@ -29,14 +29,14 @@ jobs:
version: latest

- name: Build with Maven
run: ./mvnw -B verify --file pom.xml
run: ./mvnw verify --file pom.xml -ntp

- name: Build a docker image
run: ./mvnw clean package -Pdocker
run: ./mvnw clean package -Pdocker -ntp

- name: "Resolve docker image tag"
id: version
run: echo ::set-output name=VERSION::$(./mvnw -f src/services/ogc-features/ help:evaluate -q -DforceStdout -Dexpression=project.version)
run: echo ::set-output name=VERSION::$(./mvnw -f src/services/ogc-features/ help:evaluate -q -DforceStdout -Dexpression=project.version -ntp)

- name: Login to DockerHub
if: github.repository == 'camptocamp/mel-data-api' && github.actor != 'dependabot[bot]' && (github.ref == 'refs/heads/main' || startsWith(github.event.ref, 'refs/tags/v'))
Expand Down

0 comments on commit bd65432

Please sign in to comment.