Skip to content

Commit

Permalink
add publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed Aug 29, 2023
1 parent 3ccee91 commit f853ef2
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Publish Release
on:
workflow_dispatch:
inputs:
channel:
description: 'Release Channel'
required: true
default: 'releases'
type: choice
options:
- releases
- releases-staging

jobs:
release_win64:
runs-on: windows-2022
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Build
run: |
cmake -G "Visual Studio 17 2022" -A x64 -S. -Bcmake-build
cmake --build cmake-build --config Release
-
name: Sign
run: |
echo ${{ secrets.SIGNING_CERT }} >CodeSigningCert.b64
certutil -decode CodeSigningCert.b64 CodeSigningCert.pfx
signtool sign /f CodeSigningCertificate.pfx /p "${{ secrets.SIGNING_PASS }}" /tr http://timestamp.digicert.com /td sha256 /fd sha256 /v cmake-build\Release\*.exe

0 comments on commit f853ef2

Please sign in to comment.