Skip to content

Commit

Permalink
Update build.yml re ${coverallsRepoToken}
Browse files Browse the repository at this point in the history
  • Loading branch information
safris committed Sep 17, 2023
1 parent c84b46e commit d66c15f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Build
env:
GPG: ${{ secrets.GPG }}
REPO_TOKEN: ${{ secrets.REPO_TOKEN }}
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
GPG_KEY_NAME: ${{ secrets.GPG_KEY_NAME }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
Expand All @@ -58,7 +58,7 @@ jobs:
[ "${{ github.ref }}" = "refs/heads/master" ] &&
[ "${{ github.head_ref }}" = "" ]; then
echo $GPG | base64 -d | gpg --import --no-tty --batch --yes &> /dev/null &&
mvn -e -U -B -s settings.xml -DskipRTests -DrepoToken=$REPO_TOKEN deploy -P javadoc,report,deploy;
mvn -e -U -B -s settings.xml -DskipRTests -DcoverallsRepoToken=$COVERALLS_REPO_TOKEN deploy -P javadoc,report,deploy;
else
mvn -e -U -B -s settings.xml -DskipRTests install;
fi
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<pluginManagement>
<plugins>
<plugin>
<groupId>org.safris.maven</groupId>
<groupId>org.entinae</groupId>
<artifactId>coverallsio-maven-plugin</artifactId>
<configuration>
<aggregateOnly>true</aggregateOnly>
Expand Down
2 changes: 1 addition & 1 deletion sample/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</configuration>
</plugin>
<plugin>
<groupId>org.safris.maven</groupId>
<groupId>org.entinae</groupId>
<artifactId>coverallsio-maven-plugin</artifactId>
<configuration>
<skipModule>*</skipModule>
Expand Down

0 comments on commit d66c15f

Please sign in to comment.