Skip to content

Commit 47cc5b2

Browse files
committed
missing secret
1 parent 8634b02 commit 47cc5b2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/draft-release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ jobs:
166166
shell: bash
167167
run: |
168168
echo "${{ secrets.RELEASE_SIGN_PRIVATE_KEY }}" | gpg --batch --import
169-
printf '%s' "$PASSPHRASE" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --local-user "${{ secrets.GPG_KEY_ID }}" --armor --detach-sign -o /dev/null /dev/null
169+
printf '%s' "$PASSPHRASE" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --local-user "${{ secrets.RELEASE_SIGN_KEY_ID }}" --armor --detach-sign -o /dev/null /dev/null
170170
171171
- name: Generate and Sign Checksums
172172
id: checksum
@@ -177,7 +177,7 @@ jobs:
177177
CHECKSUM_FILE="${{ needs.prepare.outputs.conan_version }}-SHA-256.txt"
178178
cd dist
179179
find . -type f -name 'conan-*' -print0 | xargs -0 sha256sum > $CHECKSUM_FILE
180-
printf '%s' "$PASSPHRASE" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --armor --detach-sign --local-user "${{ secrets.GPG_KEY_ID }}" $CHECKSUM_FILE
180+
printf '%s' "$PASSPHRASE" | gpg --batch --yes --pinentry-mode loopback --passphrase-fd 0 --armor --detach-sign --local-user "${{ secrets.RELEASE_SIGN_KEY_ID }}" $CHECKSUM_FILE
181181
cd ..
182182
echo "checksum_file_name=$CHECKSUM_FILE" >> $GITHUB_OUTPUT
183183
@@ -190,8 +190,8 @@ jobs:
190190
- name: Cleanup GPG keys
191191
shell: bash
192192
run: |
193-
gpg --batch --yes --delete-secret-keys "${{ secrets.GPG_KEY_ID }}"
194-
gpg --batch --yes --delete-keys "${{ secrets.GPG_KEY_ID }}"
193+
gpg --batch --yes --delete-secret-keys "${{ secrets.RELEASE_SIGN_KEY_ID }}"
194+
gpg --batch --yes --delete-keys "${{ secrets.RELEASE_SIGN_KEY_ID }}"
195195
196196
- name: List downloaded files
197197
run: |

0 commit comments

Comments
 (0)