Skip to content

Commit

Permalink
Run debug curl
Browse files Browse the repository at this point in the history
  • Loading branch information
ffried committed Apr 11, 2024
1 parent a76cb50 commit afb752d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,11 @@ async function install(installBase: string, branchName: string, versionTag: stri

if (!skipGPGCheck) {
await core.group('Verifying files', async () => {
if (core.isDebug())
if (core.isDebug()) {
core.debug('All Keys:\n' + fs.readFileSync(allKeysFile, { encoding: 'utf8' }));
await runCmd('curl', '-vvv', 'https://www.swift.org/keys/all-keys.asc');
}

await runCmd('gpg', '--import', allKeysFile);
let verifyArgs = ['--verify'];
if (!core.isDebug()) verifyArgs.push('--quiet');
Expand Down

0 comments on commit afb752d

Please sign in to comment.