Skip to content

Commit

Permalink
Merge adf6595 into e7511c0
Browse files Browse the repository at this point in the history
  • Loading branch information
pabender authored Jul 26, 2020
2 parents e7511c0 + adf6595 commit b8c415f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/PRCiChecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
- name: Build with Maven
env:
DISPLAY: ":99.0"
run: xvfb-run --auto-servernum mvn -B package --file pom.xml
run: xvfb-run --auto-servernum mvn -B package jacoco:report --file pom.xml

7 changes: 6 additions & 1 deletion .github/workflows/PublishToMavenCentral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: install-secret-key
name: Install gpg secret key
run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- name: Set up Maven Central Repository
uses: actions/setup-java@v1
with:
Expand All @@ -16,7 +21,7 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: xvfb-run --auto-servernum mvn -B deploy
run: xvfb-run --auto-servernum mvn -B -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy
env:
DISPLAY: ":99.0"
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit b8c415f

Please sign in to comment.