File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -161,12 +161,17 @@ jobs:
161161 shell : powershell
162162 run : |
163163 Invoke-WebRequest https://github.com/vcsjones/AzureSignTool/releases/download/v6.0.0/AzureSignTool-x64.exe -OutFile src-tauri/AzureSignTool.exe
164- $env:Path += ";$PWD\\src-tauri"
165- - name : Debug AzureSignTool path
164+
165+ - name : Add AzureSignTool to PATH
166166 shell : bash
167167 run : |
168- ls -l ./src-tauri/AzureSignTool.exe || echo "AzureSignTool NOT FOUND in working directory"
169- which AzureSignTool.exe || echo "AzureSignTool.exe not found in PATH"
168+ echo "$PWD/src-tauri" >> $GITHUB_PATH
169+ - name : Debug: Check AzureSignTool is available
170+ shell : bash
171+ run : |
172+ echo "Current PATH: $PATH"
173+ which AzureSignTool.exe || echo "AzureSignTool.exe NOT FOUND in PATH"
174+ AzureSignTool.exe --help || echo "Failed to run AzureSignTool.exe"
170175
171176 - name : Verify AzureSignTool exists
172177 shell : bash
Original file line number Diff line number Diff line change 7171 ],
7272 "externalBin" : [" binaries/cortex-server" ],
7373 "windows" : {
74- "signCommand" : " ./src-tauri/ AzureSignTool.exe sign -du \" https://jan.ai\" -kvu https://jankeyvaults.vault.azure.net/ -kvi %AZURE_CLIENT_ID% -kvt %AZURE_TENANT_ID% -kvs %AZURE_CLIENT_SECRET% -kvc %AZURE_CERT_NAME% -tr http://timestamp.globalsign.com/tsa/r6advanced1 -v %1"
74+ "signCommand" : " AzureSignTool.exe sign -du \" https://jan.ai\" -kvu https://jankeyvaults.vault.azure.net/ -kvi %AZURE_CLIENT_ID% -kvt %AZURE_TENANT_ID% -kvs %AZURE_CLIENT_SECRET% -kvc %AZURE_CERT_NAME% -tr http://timestamp.globalsign.com/tsa/r6advanced1 -v %1"
7575 }
7676 }
7777}
You can’t perform that action at this time.
0 commit comments