Skip to content

Commit

Permalink
Merge pull request #2 from Cawllec/test/workflow
Browse files Browse the repository at this point in the history
Add signing workflow
  • Loading branch information
Cawllec authored Nov 13, 2024
2 parents baecebe + 18cc46d commit c9add23
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/signing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Sign release assets

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to sign'
required: true
type: string
jobs:
sign-assets:
runs-on: ubuntu-latest
steps:
- name: Install gpg
run: |
sudo apt-get update
sudo apt-get install -y gnupg
- name: Import GPG key
run: |
echo "${{ secrets.TEST_GPG_KEY }}" | base64 --decode | gpg --import
- name: Sign assets
uses: cawllec/bugsnag-release-signer@initial-work
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
release_tag: ${{ github.event.inputs.tag }}
key_id: ${{ secrets.TEST_GPG_KEY_ID }}
key_passphrase: ${{ secrets.TEST_GPG_PASSPHRASE }}
organization: ${{ github.event.organization }}
repository: ${{ github.event.repository }}

0 comments on commit c9add23

Please sign in to comment.