Skip to content

Commit

Permalink
run mvn verify in CI instead of package
Browse files Browse the repository at this point in the history
Signed-off-by: Hervé Boutemy <[email protected]>
  • Loading branch information
hboutemy committed Oct 6, 2024
1 parent 072dcd7 commit 2ffab8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
distribution: 'adopt'
java-version: '8'
- name: Build with Maven
run: mvn --no-transfer-progress package site
run: mvn --no-transfer-progress verify site
- name: Deploy documentation
if: ${{ github.ref == 'refs/heads/master' }}
uses: JamesIves/github-pages-deploy-action@releases/v3
Expand Down
2 changes: 1 addition & 1 deletion src/it/makeBom/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ assert bomFileXml.text.contains('<reference type="website">\n' +

assert !bomFileXml.text.contains('<property name="maven.optional.unused">')

assert bomFileJson.text.contains('"specVersion" : "1.5"')
assert bomFileJson.text.contains('"specVersion" : "1.6"')

// Reproducible Builds
assert !bomFileJson.text.contains('"timestamp"')
Expand Down

0 comments on commit 2ffab8d

Please sign in to comment.