Skip to content

Commit

Permalink
Try passing the key
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonklaus committed Jan 22, 2025
1 parent 49e5175 commit e10cf04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/build/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build nuget package and test dll
description: "Builds signed nuget package"

inputs:
sgKey:
required: true

runs:
using: "composite"
steps:
Expand All @@ -15,7 +19,7 @@ runs:
shell: pwsh
run: |
New-Item -ItemType directory -Path key
Set-Content -Path key\key.txt -Value '${{ secrets.SG_KEY }}'
Set-Content -Path key\key.txt -Value '${{ inputs.sgKey }}'
certutil -decode key\key.txt key\key.snk
- name: Delay Sign dll
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:

- name: Build
uses: ./.github/actions/build
with:
sgKey: ${{ secrets.SG_KEY }}

#- name: Upload to JFrog
# if: ${{ !cancelled() && inputs.upload-artifacts == true }}
Expand Down

0 comments on commit e10cf04

Please sign in to comment.