Skip to content

Commit

Permalink
Add signing of the exe to publish workflow (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricky White authored Jul 1, 2024
1 parent b054333 commit 9cbb887
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: release
name: Release

on:
push:
Expand Down Expand Up @@ -44,6 +44,16 @@ jobs:
--output ..\publish `
/p:AssemblyName=${{ env.ASSEMBLY_NAME }}
- uses: dlemstra/code-sign-action@v1
with:
certificate: '${{ secrets.CERTIFICATE }}'
password: '${{ secrets.CERTIFICATE_PASSWORD }}'
folder: publish
recursive: true
files: |
${{ env.ASSEMBLY_NAME }}.exe
description: "Keeper's Windows Credential Manager Utility"

- name: Create checksum
run: |
$FileHash = (Get-FileHash publish\${{ env.ASSEMBLY_NAME }}.exe -Algorithm SHA256).Hash
Expand Down

0 comments on commit 9cbb887

Please sign in to comment.