Skip to content

Commit 3d72f87

Browse files
authored
Update dotnet-release.yml
1 parent 5b2da99 commit 3d72f87

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

.github/workflows/dotnet-release.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,9 @@ jobs:
5555
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
5656

5757
env:
58-
Solution_Name: ComTransfer.sln
59-
Archive_Name: "../ComTransfer.zip"
60-
Project_Path: ComTransfer.csproj
61-
Test_Project_Path: UnitTest\UnitTest.csproj
58+
Solution_Name: NIAS.sln
59+
Archive_Name: '../NIAS.zip'
60+
Project_Path: 'LanMonitor/LanMonitor.csproj'
6261

6362
steps:
6463
- name: Checkout
@@ -91,7 +90,19 @@ jobs:
9190

9291
- name: Build Solution
9392
run: msbuild.exe $env:Solution_Name /t:Build /p:DeleteExistingFiles=True /p:platform="Any CPU" /p:configuration="Release" /p:DebugSymbols=false /p:DebugType=None /p:OutputPath="../_build"
94-
93+
94+
# Sign Binaries
95+
- name: Sign Binaries
96+
uses: GabrielAcostaEngler/signtool-code-sign@main
97+
with:
98+
certificate: '${{ secrets.Base64_Encoded_PFX }}'
99+
cert-password: '${{ secrets.PFX_KEY }}'
100+
cert-sha1: '${{ secrets.PFX_SHA1 }}'
101+
cert-description: 'foo'
102+
folder: '../_build'
103+
recursive: false
104+
timestamp-server: 'http://timestamp.digicert.com'
105+
95106
- name: Archive Release
96107
uses: thedoctor0/zip-release@main
97108
with:

0 commit comments

Comments
 (0)