This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -336,6 +336,8 @@ jobs:
336336 run : |
337337 robocopy build_deps\_install\bin .\build\Release zlib.dll
338338 robocopy build\bin\Release .\build\Release llama.dll
339+ dotnet tool install --global AzureSignTool
340+ azuresigntool.exe sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.globalsign.com/tsa/r6advanced1 -v ".\build\Release\nitro.exe"
339341 7z a -ttar temp.tar .\build\Release\*
340342 7z a -tgzip nitro.tar.gz temp.tar
341343
@@ -389,6 +391,10 @@ jobs:
389391 env :
390392 ACTIONS_ALLOW_UNSECURE_COMMANDS : true
391393
394+ - uses : actions/setup-dotnet@v3
395+ with :
396+ dotnet-version : ' 6.0.x'
397+
392398 - name : Build
393399 id : cmake_build
394400 shell : cmd
@@ -407,6 +413,8 @@ jobs:
407413 set PATH=%PATH%;C:\Program Files\7-Zip\
408414 robocopy build_deps\_install\bin .\build\Release zlib.dll
409415 robocopy build\bin\Release .\build\Release llama.dll
416+ dotnet tool install --global AzureSignTool
417+ %USERPROFILE%\.dotnet\tools\azuresigntool.exe sign -kvu "${{ secrets.AZURE_KEY_VAULT_URI }}" -kvi "${{ secrets.AZURE_CLIENT_ID }}" -kvt "${{ secrets.AZURE_TENANT_ID }}" -kvs "${{ secrets.AZURE_CLIENT_SECRET }}" -kvc ${{ secrets.AZURE_CERT_NAME }} -tr http://timestamp.globalsign.com/tsa/r6advanced1 -v ".\build\Release\nitro.exe"
410418 7z a -ttar temp.tar .\build\Release\*
411419 7z a -tgzip nitro.tar.gz temp.tar
412420
You can’t perform that action at this time.
0 commit comments