File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ jobs:
201
201
apiSigningToken : ${{ (github.event_name == 'push' && env.feature_signing) && secrets.API_SIGNING_TOKEN || '' }}
202
202
- name : Install SignPath
203
203
if : ${{ github.event_name == 'push' && env.feature_signing }}
204
- run : Install-Module -Name SignPath -Force
204
+ run : Install-PSResource -Name SignPath -TrustRepository
205
205
- name : Create launcher
206
206
shell : cmd
207
207
run : scons %sconsOutTargets% %sconsArgs% ${{ !runner.debug && '--all-cores' || '-j1'}}
Original file line number Diff line number Diff line change 8
8
[string ]$FileToSign
9
9
)
10
10
11
- Install-PSResource - Name SignPath - TrustRepository
12
11
Submit-SigningRequest - ApiToken $ApiToken - InputArtifactPath $FileToSign - OutputArtifactPath $FileToSign - OrganizationId " 12147e94-bba9-4fef-b29b-300398e90c5a" - ProjectSlug " NVDA" - SigningPolicySlug " release_signing_policy" - WaitForCompletion - Force
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ if apiSigningToken:
197
197
retval = 1 # error value
198
198
for targetFile in target:
199
199
if (abspath := targetFile.abspath).endswith((".exe", ".dll")):
200
- ps_cmd = f"powershell -executionpolicy bypass -File appveyor\scripts\sign.ps1 -ApiToken {apiSigningToken} -FileToSign {abspath}"
200
+ ps_cmd = f"PowerShell -ExecutionPolicy bypass -File appveyor\scripts\sign.ps1 -ApiToken {apiSigningToken} -FileToSign {abspath}"
201
201
if (retval := env.Execute(ps_cmd, shell=True)) != 0:
202
202
print(f"Error signing file: {abspath}")
203
203
return retval
You can’t perform that action at this time.
0 commit comments