From 8863fcf14e4693bddc637022a6f827a9df57552a Mon Sep 17 00:00:00 2001 From: Thomas Richner Date: Wed, 7 Aug 2024 17:28:44 +0200 Subject: [PATCH] ARC-1986: Import GPG Key --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e53d5a6..e25e13d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -41,7 +41,9 @@ jobs: working-directory: parser run: make build - name: Publish package - run: mvn --batch-mode -Prelease deploy + run: | + echo -n "$MAVEN_GPG_KEY" | gpg --import --batch + mvn --batch-mode -Prelease deploy env: MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }} MAVEN_GPG_KEY: ${{ secrets.MAVEN_GPG_KEY }}