From 83feff011632fb441c9732041f9ffe2b7d8a2c35 Mon Sep 17 00:00:00 2001 From: Strongest Number 9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Thu, 21 Sep 2023 10:09:05 +0300 Subject: [PATCH] Adds gpg stuff (#2) --- .github/workflows/upload_release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/upload_release.yaml b/.github/workflows/upload_release.yaml index 021a7ae..f4025cc 100644 --- a/.github/workflows/upload_release.yaml +++ b/.github/workflows/upload_release.yaml @@ -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