Skip to content

Commit e586f57

Browse files
fix(ci): change path in signtool
1 parent fb53ab1 commit e586f57

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/Tauri-Release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,11 @@ jobs:
210210
if: matrix.os == 'windows-2022'
211211
shell: powershell
212212
run: |
213-
$sdkPath = "C:\Program Files (x86)\Windows Kits\10\bin"
214-
$signtool = Get-ChildItem -Path $sdkPath -Recurse -Filter signtool.exe | Select-Object -First 1
215-
if (-not $signtool) {
213+
$signtool = "C:\Program Files (x86)\Windows Kits\10\bin\x64\signtool.exe"
214+
if (-not (Test-Path $signtool)) {
216215
Write-Error "signtool.exe not found"
217216
exit 1
218217
}
219-
echo "$($signtool.Directory.FullName)" >> $env:GITHUB_PATH
220218
& $signtool.FullName /?
221219
222220

0 commit comments

Comments
 (0)