Skip to content

Commit

Permalink
Avoid a redirect to verification keys
Browse files Browse the repository at this point in the history
  • Loading branch information
pfusik authored and fwcd committed Aug 28, 2024
1 parent 3aed395 commit 06df360
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const core = __importStar(__nccwpck_require__(2186));
const toolCache = __importStar(__nccwpck_require__(7784));
async function setupKeys() {
core.debug("Fetching verification keys");
let path = await toolCache.downloadTool("https://swift.org/keys/all-keys.asc");
let path = await toolCache.downloadTool("https://www.swift.org/keys/all-keys.asc");
core.debug("Importing verification keys");
await (0, exec_1.exec)(`gpg --import "${path}"`);
core.debug("Refreshing keys");
Expand Down
2 changes: 1 addition & 1 deletion src/gpg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as toolCache from "@actions/tool-cache";
export async function setupKeys() {
core.debug("Fetching verification keys");
let path = await toolCache.downloadTool(
"https://swift.org/keys/all-keys.asc"
"https://www.swift.org/keys/all-keys.asc"
);

core.debug("Importing verification keys");
Expand Down

0 comments on commit 06df360

Please sign in to comment.