From 3c2360b47bce4723e7f3eac166c51b55e176f906 Mon Sep 17 00:00:00 2001 From: michaeloffner Date: Thu, 20 Jun 2024 21:08:17 +0200 Subject: [PATCH] fix yaml --- .github/workflows/maven.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 8eda9e5..2c68568 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -33,14 +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 }} + 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: