From beb4853ffe41812889e647f95c5ecfaadd8c5fd8 Mon Sep 17 00:00:00 2001 From: Mike Barry Date: Sun, 16 Jun 2024 16:05:03 -0400 Subject: [PATCH] fix release --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3ac4b9994..8e7e145673 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -38,6 +38,8 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD + gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} + gpg-passphrase: OSSRH_GPG_SECRET_KEY_PASSWORD - name: Check tag does not exist yet run: if git rev-list "v${{ github.event.inputs.version }}"; then echo "Tag already exists. Aborting the release process."; exit 1; fi @@ -59,9 +61,6 @@ jobs: - run: mv planetiler-dist/target/*with-deps.jar planetiler.jar - run: sha256sum planetiler.jar > planetiler.jar.sha256 - run: md5sum planetiler.jar > planetiler.jar.md5 - - name: Install GPG Private Key - run: | - echo -n "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | base64 --decode | gpg --batch --import - name: Create Release uses: softprops/action-gh-release@v2 with: