Skip to content

Commit

Permalink
Updating gpg signing
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaytotomato committed Aug 2, 2024
1 parent 38e9f68 commit b9d9755
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ jobs:
passphrase: ${{ secrets.GPG_PASSPHRASE }}

- name: Build with Maven
env:
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
run: mvn clean verify

- name: List target directory
run: ls -R target/site/jacoco

- name: Run SonarCloud Scan
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 2 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
</sonar.coverage.jacoco.xmlReportPaths>
<sonar.language>java</sonar.language>
<central-publishing-maven-plugin.version>0.5.0</central-publishing-maven-plugin.version>
<maven-gpg-plugin.version>3.2.4</maven-gpg-plugin.version>
</properties>

<distributionManagement>
Expand Down Expand Up @@ -165,7 +166,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<version>${maven-gpg-plugin.version}</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down

0 comments on commit b9d9755

Please sign in to comment.