Skip to content

Commit

Permalink
GitHub CI: Sign release artifacts (attempt 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
avh4 committed Feb 25, 2023
1 parent 86f28de commit a664864
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/actions/release-artifact/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@ runs:
using: "composite"
steps:
- name: Configure GPG Key
shell: bash
run: |
echo "$GPG_SIGNING_KEY" | base64 --decode > private.key
gpg --import private.key
rm -v private.key
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
- name: Sign artifacts
run: |
for i in dist/*; do
gpg --verbose --local-user 1508E30E65C8C21F --armor --detach-sign "$i"
done
shell: bash
run: |
for i in dist/*; do
gpg --verbose --local-user 1508E30E65C8C21F --armor --detach-sign "$i"
done
- uses: actions/upload-artifact@v3
with:
name: elm-format-${{ github.sha }}-${{ matrix.build.archive-label }}
Expand Down

0 comments on commit a664864

Please sign in to comment.