From 095d24c180c0a5d6b3ab2f94f013759c4f4cee9e Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 18 Jan 2024 07:51:34 -0800 Subject: [PATCH] fixup: uploaded binary name --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 94e6178..4e79825 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,7 +32,7 @@ const gotClient = got.extend({ function getCacherUrl() : string { const runnerArch = process.env.RUNNER_ARCH; const runnerOs = process.env.RUNNER_OS; - const binarySuffix = `${runnerArch}-${runnerOs}`; + const binarySuffix = `magic-nix-cache-${runnerArch}-${runnerOs}`; const urlPrefix = `https://magic-nix-cache-priv20231208150408868500000001.s3.us-east-2.amazonaws.com`; if (core.getInput('source-url')) { @@ -44,7 +44,7 @@ function getCacherUrl() : string { } if (core.getInput('source-pr')) { - return `${urlPrefix}/pr_${core.getInput('source-pr')}/magic-nix-cache-${binarySuffix}`; + return `${urlPrefix}/pr_${core.getInput('source-pr')}/${binarySuffix}`; } if (core.getInput('source-branch')) {