Skip to content

Sign release assets #11

Sign release assets

Sign release assets #11

Workflow file for this run

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 --batch --import
- name: Sign assets
uses: Cawllec/release-signer@add-packages
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
full_repository: ${{ github.repository }}
release_tag: ${{ github.event.inputs.tag }}
key_id: ${{ secrets.TEST_GPG_KEY_ID }}
key_passphrase: ${{ secrets.TEST_GPG_PASSPHRASE }}