From ee79be443cc00fa874644211b63cdedd4c499bf9 Mon Sep 17 00:00:00 2001 From: Glom Date: Mon, 5 Feb 2024 09:24:04 +0800 Subject: [PATCH] fix publish --- .github/workflows/publish_165.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish_165.yml b/.github/workflows/publish_165.yml index e775d76e..bde7f9a0 100644 --- a/.github/workflows/publish_165.yml +++ b/.github/workflows/publish_165.yml @@ -26,11 +26,8 @@ jobs: run: chmod +x ./gradlew - name: Decode run: | - if [ ! -d "~/.gradle/" ]; then - mkdir ~/.gradle/ - else - echo "~/.gradle/ exists" - fi + rm -rf ~/.gradle/ + mkdir ~/.gradle/ touch ~/.gradle/secring.pgp.base64 echo "${{ secrets.SIGNING_SECRET_KEY_RING_FILE }}" > ~/.gradle/secring.pgp.base64 base64 -d ~/.gradle/secring.pgp.base64 > ~/.gradle/secring.pgp