From c85ed9d6f8d6812c50dd112ad07e0053d86661ea Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 13 Jul 2024 06:11:21 +0000 Subject: [PATCH] fix: gpg improt --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e1ab04..e8da44d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,12 +32,12 @@ jobs: full_version: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }} tag_name: ${{ steps.release.outputs.tag_name }} run: | + gpg --allow-secret-key-import --import <<< "$PRIVATE_SIGNING_KEY" git remote set-url origin https://github-actions:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY} git config commit.gpgsign true git config --global user.name ueokande git config --global user.email ueokande@i-beam.org git config --global user.signingkey 7F94715D031FDE95 - gpg --allow-secret-key-import --import <<< "$PRIVATE_SIGNING_KEY" git add . git commit --allow-empty --message "Release v${full_version} at ${GITHUB_SHA}"