Skip to content

Commit

Permalink
fix(pom): Sign in install stage to work for both CI and release
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergondza committed Apr 9, 2024
1 parent 7d35ad3 commit d299897
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java-version }}
- run: mvn -B install --no-transfer-progress
- run: mvn -B verify --no-transfer-progress
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@
<executions>
<execution>
<id>sign-artifacts</id>
<phase>deploy</phase>
<!-- Needs to be signed before deploy, but cumbersome if signing is required for verify -->
<phase>install</phase>
<goals>
<goal>sign</goal>
</goals>
Expand Down

0 comments on commit d299897

Please sign in to comment.