Skip to content

Commit 23e4da5

Browse files
committed
install elsewhere
1 parent 6db3bc6 commit 23e4da5

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.github/workflows/testAndPublish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ jobs:
201201
apiSigningToken: ${{ (github.event_name == 'push' && env.feature_signing) && secrets.API_SIGNING_TOKEN || '' }}
202202
- name: Install SignPath
203203
if: ${{ github.event_name == 'push' && env.feature_signing }}
204-
run: Install-Module -Name SignPath -Force
204+
run: Install-PSResource -Name SignPath -TrustRepository
205205
- name: Create launcher
206206
shell: cmd
207207
run: scons %sconsOutTargets% %sconsArgs% ${{ !runner.debug && '--all-cores' || '-j1'}}

appveyor/scripts/sign.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@ param(
88
[string]$FileToSign
99
)
1010

11-
Install-PSResource -Name SignPath -TrustRepository
1211
Submit-SigningRequest -ApiToken $ApiToken -InputArtifactPath $FileToSign -OutputArtifactPath $FileToSign -OrganizationId "12147e94-bba9-4fef-b29b-300398e90c5a" -ProjectSlug "NVDA" -SigningPolicySlug "release_signing_policy" -WaitForCompletion -Force

sconstruct

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ if apiSigningToken:
197197
retval = 1 # error value
198198
for targetFile in target:
199199
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}"
201201
if (retval := env.Execute(ps_cmd, shell=True)) != 0:
202202
print(f"Error signing file: {abspath}")
203203
return retval

0 commit comments

Comments
 (0)