We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a290cc4 commit 0a0d425Copy full SHA for 0a0d425
.github/workflows/release.yml
@@ -34,14 +34,15 @@ jobs:
34
35
- name: Prepare GPG key
36
run: |
37
- gpg_dir=.cr-gpg
+ gpg_dir="$(pwd)/.cr-gpg"
38
mkdir "$gpg_dir"
39
keyring="$gpg_dir/secring.gpg"
40
base64 -d <<< "$GPG_KEY_BASE64" > "$keyring"
41
passphrase_file="$gpg_dir/passphrase"
42
echo "$GPG_PASSPHRASE" > "$passphrase_file"
43
echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
44
echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
45
+ echo "GNUPGHOME=${gpg_dir}"
46
env:
47
GPG_KEY_BASE64: "${{ secrets.GPG_KEY_BASE64 }}"
48
GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE }}"
0 commit comments