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 7358596 commit d8a31f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,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 @@ -52,7 +52,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

0 comments on commit d8a31f1

Please sign in to comment.