File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 3333
3434 - name : Configure CodeSignTool
3535 run : |
36- Add-Content -Path "$env:GITHUB_WORKSPACE\code_sign\conf\code_sign_tool.properties" -Value 'TSA_LEGACY_URL=http://ts.ssl.com/legacy'
36+ $confPath = "$env:GITHUB_WORKSPACE\code_sign\conf\code_sign_tool.properties"
37+ if (Test-Path $confPath) { Remove-Item $confPath -Force }
38+ $lines = @(
39+ 'CLIENT_ID=kaXTRACNijSWsFdRKg_KAfD3fqrBlzMbWs6TwWHwAn8'
40+ 'OAUTH2_ENDPOINT=https://login.ssl.com/oauth2/token'
41+ 'CSC_API_ENDPOINT=https://cs.ssl.com'
42+ 'TSA_URL=http://ts.ssl.com'
43+ 'TSA_LEGACY_URL=http://ts.ssl.com/legacy'
44+ )
45+ Set-Content -Path $confPath -Value $lines
3746
3847 - name : Prepare artifacts directory
3948 run : |
Original file line number Diff line number Diff line change 3333
3434 - name : Configure CodeSignTool
3535 run : |
36- Add-Content -Path "$env:GITHUB_WORKSPACE\code_sign\conf\code_sign_tool.properties" -Value 'TSA_LEGACY_URL=http://ts.ssl.com/legacy'
36+ $confPath = "$env:GITHUB_WORKSPACE\code_sign\conf\code_sign_tool.properties"
37+ if (Test-Path $confPath) { Remove-Item $confPath -Force }
38+ $lines = @(
39+ 'CLIENT_ID=kaXTRACNijSWsFdRKg_KAfD3fqrBlzMbWs6TwWHwAn8'
40+ 'OAUTH2_ENDPOINT=https://login.ssl.com/oauth2/token'
41+ 'CSC_API_ENDPOINT=https://cs.ssl.com'
42+ 'TSA_URL=http://ts.ssl.com'
43+ 'TSA_LEGACY_URL=http://ts.ssl.com/legacy'
44+ )
45+ Set-Content -Path $confPath -Value $lines
3746
3847 - name : Prepare artifacts directory
3948 run : |
You can’t perform that action at this time.
0 commit comments