From 6322f6bb247a1e91b1644c3ae90f136628492245 Mon Sep 17 00:00:00 2001 From: nk_ysg Date: Sun, 24 Dec 2023 01:42:12 +0800 Subject: [PATCH] Maven deploy 11 (#13) * fix OSSRH_GPG_SECRET_KEY 2 * fix OSSRH_GPG_SECRET_KEY 3 * fix OSSRH_GPG_SECRET_KEY 4 * fix OSSRH_GPG_SECRET_KEY 4 --- .github/workflows/maven_deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/maven_deploy.yml b/.github/workflows/maven_deploy.yml index 70d5f04..e915242 100644 --- a/.github/workflows/maven_deploy.yml +++ b/.github/workflows/maven_deploy.yml @@ -16,6 +16,13 @@ jobs: with: ref: 'main' fetch-depth: 0 + + - name: Install gpg secret key + run: | + mkdir -p ~/.gnupg/private-keys-v1.d + chmod 700 ~/.gnupg/private-keys-v1.d + echo -n ${{ secrets.OSSRH_GPG_SECRET_KEY }} | base64 --decode | gpg --import + - name: Setup Java uses: actions/setup-java@v1 with: