Skip to content

Commit

Permalink
add release code signing
Browse files Browse the repository at this point in the history
  • Loading branch information
nomi-san committed Nov 16, 2024
1 parent 8e3221a commit 7b7619b
Showing 1 changed file with 26 additions and 5 deletions.
31 changes: 26 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ on:
push:
workflow_dispatch:

permissions:
contents: read

jobs:
build:
runs-on: windows-2022
permissions:
contents: write

steps:
- name: Checkout repo
Expand All @@ -36,7 +35,29 @@ jobs:
msbuild ParsecVDisplay.csproj /t:Restore
msbuild ParsecVDisplay.csproj /t:Build /p:Configuration=Release /p:Platform=AnyCPU
- uses: actions/upload-artifact@v4
- name: Upload build output
uses: actions/upload-artifact@v4
id: artifact-upload-step
with:
name: ParsecVDisplay
path: app/bin/net480/ParsecVDisplay.exe

- name: Sign the build
uses: signpath/github-action-submit-signing-request@v1
with:
api-token: ${{ secrets.SIGNPATH_API_TOKEN }}
organization-id: b57f6752-7123-475c-9185-6bfea1032f02
project-slug: parsec-vdd
signing-policy-slug: release-signing
artifact-configuration-slug: portable-app
github-artifact-id: "${{steps.artifact-upload-step.outputs.artifact-id}}"
wait-for-completion: true
output-artifact-directory: "bin"
parameters: |
Version: "${{ github.ref_name }}"
- name: Upload signed build
uses: actions/upload-artifact@v4
with:
name: ParsecVDisplay-v${{ env.APP_VERSION }}-${{ env.SHORT_SHA }}
path: app/bin
path: bin/

0 comments on commit 7b7619b

Please sign in to comment.