Skip to content

Commit

Permalink
Fix: Don't set gpg key in release action
Browse files Browse the repository at this point in the history
The gpg key is not used in the release action (at least at the moment).
The gpg key is only used in the sign-release-files action.

This fixes the release when files should be signed because importing a
gpg key twice results in a gpg error.
  • Loading branch information
bjoernricks committed May 8, 2023
1 parent d85131e commit 3a0cb6b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,6 @@ runs:
user: ${{ inputs.github-user }}
mail: ${{ inputs.github-user-mail }}
token: ${{ inputs.github-user-token }}
- name: Import gpg key from secrets
run: |
echo -e "${{ inputs.gpg-key }}" >> tmp.file
gpg --pinentry-mode loopback --passphrase ${{ inputs.gpg-passphrase }} --import tmp.file
rm tmp.file
shell: bash
if: ${{ inputs.gpg-key }} && ${{ inputs.gpg-fingerprint }} && ${{ inputs.gpg-passphrase }}

# Input parsing
- name: Parse release-type
Expand Down

0 comments on commit 3a0cb6b

Please sign in to comment.