Skip to content

Commit

Permalink
chore: Add signing in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-polk committed Jun 28, 2024
1 parent e4b87ee commit 594729c
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,17 @@ jobs:
env:
in_github_action: "true"

sign-installer:
runs-on: windows-latest
steps:
- name: Sign installer
if: startsWith(github.ref, 'refs/tags/v')
uses: sillsdev/codesign/.github/workflows/[email protected]
- uses: actions/upload-artifact@v4
with:
name: BloomPubViewerSetup
path: BloomPub*.exe
description: BloomPUB Viewer installer
secrets:
certificate: ${{ secrets.CODESIGN_LSDEVSECTIGOEV }}
if-no-files-found: error

- name: Confirm signature
uses: sillsdev/codesign/[email protected]
with:
path: BloomPub*.exe
sign-installer:
name: Sign installer
if: startsWith(github.ref, 'refs/tags/v')
uses: sillsdev/codesign/.github/workflows/[email protected]
with:
artifact: BloomPubViewerSetup
secrets:
certificate: ${{ secrets.CODESIGN_LSDEVSECTIGOEV }}

0 comments on commit 594729c

Please sign in to comment.