Skip to content

Commit

Permalink
make nuget code signing optional, disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Moreau authored and awakecoding committed Nov 6, 2023
1 parent 64faeb9 commit 8ca422c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ on:
description: build revision id
default: '0'
required: true
sign-nuget:
description: Sign nuget package
required: true
type: boolean
default: false
skip-publish:
description: Skip publishing
required: true
Expand Down Expand Up @@ -157,6 +162,7 @@ jobs:
dotnet pack .\dotnet\Devolutions.WindowsTerminal -c Release -o package /p:Version=$Version
- name: Code sign nuget package
if: ${{ fromJSON(inputs.sign-nuget) == false }}
shell: pwsh
run: |
$NugetPackage = (Get-Item ".\package\*.nupkg" | Select-Object -First 1) | Resolve-Path -Relative
Expand Down

0 comments on commit 8ca422c

Please sign in to comment.