Skip to content

Commit

Permalink
Adds gpg stuff (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongestNumber9 authored Sep 21, 2023
1 parent 2189a8c commit 83feff0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/upload_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ jobs:
with:
java-version: 8.0.292+10
distribution: 'adopt'
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE

- name: Publish to GitHub Packages
run: mvn --batch-mode -Drevision=${{ github.event.release.tag_name }} -Dsha1= -Dchangelist= clean deploy -Ppublish-github-packages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

- name: Attach rpm to release
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 83feff0

Please sign in to comment.