Sign binaries in Windows

dhcp-server
Pat Hartl 2023-09-03 14:43:32 -05:00 committed by GitHub
parent 5521fc120d
commit a6892ffbef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -37,13 +37,13 @@ jobs:
- name: Publish
run: dotnet publish "./LANCommander/LANCommander.csproj" -c Release -o _Build --self-contained --os win -p:PublishSingleFile=true
- name: Sign Windows Binary
uses: jchen42703/windows-signer-action@v0.0.2-no-timestamp
env:
NAME: LANCommander
DOMAIN: https://lancommander.app
BINARY: "./_Build/LANCommander.exe"
WINDOWS_CERT: ${{ secrets.WINDOWS_CERT }}
WINDOWS_KEY: ${{ secrets.WINDOWS_KEY }}
uses: DanaBear/code-sign-action@v4
with:
certificate: "${{ secrets.CERTIFICATE }}"
certificatesha1: "${{ secrets.CERTIFICATE_HASH }}"
password: "${{ secrets.CERTIFICATE_PASSWORD }}"
folder: "./_Build"
recursive: false
- name: Upload Artifacts
uses: actions/upload-artifact@v2
with: