From 25da557d9b69ca8b7a4cb65c177d269c2712d3cd Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Thu, 20 Jun 2024 21:06:47 +0200 Subject: [PATCH] release --- .github/workflows/maven.yml | 8 ++++++++ .gitignore | 2 ++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 44876b2..8eda9e5 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -33,6 +33,14 @@ jobs: run: | VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) echo "VERSION=$VERSION" >> $GITHUB_ENV + + - name: Import GPG key + run: | + echo "$GPG_PRIVATE_KEY" | gpg --batch --import + echo "$GPG_PASSPHRASE" | gpg --batch --import --passphrase-fd 0 + env: + GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} + GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Build and Deploy with Maven env: diff --git a/.gitignore b/.gitignore index d0a8749..aeff7f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +/private-key.asc +/public-key.asc /target /temp /dist