Skip to content

Commit

Permalink
Replace verify with install
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Oct 17, 2024
1 parent 338a43c commit 0705c03
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-reusable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ jobs:
with:
develocity-access-key: ${{ secrets.DV_ACCESS_TOKEN }}

# We could have used `verify`, but `clean install` is required while generating the build reproducibility report, which is performed in the next step.
# For details, see: https://maven.apache.org/guides/mini/guide-reproducible-builds.html#how-to-test-my-maven-build-reproducibility
# We use `install` instead of `verify`, otherwise the build website step below fails
- name: Build
id: build
shell: bash
Expand All @@ -124,7 +123,7 @@ jobs:
--show-version --batch-mode --errors --no-transfer-progress \
-DtrimStackTrace=false \
-DinstallAtEnd=true \
clean ${{ inputs.reproducibility-check-enabled && 'install' || 'verify' }}
clean install
# We upload tests results.
- name: Upload test reports
Expand Down

0 comments on commit 0705c03

Please sign in to comment.