From a078711b44f31c7ad15c3a7db3f5e261147844fd Mon Sep 17 00:00:00 2001 From: StrongestNumber9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Mon, 22 May 2023 09:00:22 -0400 Subject: [PATCH] Pass GPG passphrase to rpm building --- .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 0665664..e1e8779 100644 --- a/.github/workflows/upload_release.yaml +++ b/.github/workflows/upload_release.yaml @@ -34,6 +34,9 @@ jobs: - name: Pack RPM run: cd rpm/ && mvn --batch-mode -Drevision=${{ github.event.release.tag_name }} -Dsha1= -Dchangelist= -f rpm.pom.xml package + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} - name: Attach rpm to release uses: softprops/action-gh-release@v1