From afb752ddae0dcea2f3edde30d92072b26aef528d Mon Sep 17 00:00:00 2001 From: Florian Friedrich Date: Thu, 11 Apr 2024 08:47:26 +0200 Subject: [PATCH] Run debug curl --- src/main.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index f85e832..5e9744c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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');