File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6565 - name : Set MSIX Tool Paths
6666 shell : powershell
6767 run : |
68- $sdkPath = "C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64"
69- echo "MAKEAPPX_PATH=$sdkPath\MakeAppx.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
70- echo "SIGNTOOL_PATH=$sdkPath\signtool.exe" | Out-File -FilePath $env:GITHUB_ENV -Append
68+ # DYNAMIC FIX: Find tools in PATH instead of hardcoding SDK version
69+ $makeappx = (Get-Command MakeAppx.exe).Source
70+ $signtool = (Get-Command signtool.exe).Source
71+
72+ echo "Found MakeAppx at: $makeappx"
73+ echo "Found SignTool at: $signtool"
74+
75+ echo "MAKEAPPX_PATH=$makeappx" | Out-File -FilePath $env:GITHUB_ENV -Append
76+ echo "SIGNTOOL_PATH=$signtool" | Out-File -FilePath $env:GITHUB_ENV -Append
7177
7278 - name : Run deployment script
7379 run : |
@@ -144,3 +150,4 @@ jobs:
144150 with :
145151 name : temporary-testing-certificate
146152 path : extras/deploy_windows/deploy/test_certificate.cer
153+
You can’t perform that action at this time.
0 commit comments