go back to ids

This commit is contained in:
Graham Christensen 2024-01-18 11:36:58 -05:00
parent 243e6641b4
commit 5d44dc35d8

View file

@ -33,8 +33,7 @@ function getCacherUrl() : string {
const runnerArch = process.env.RUNNER_ARCH; const runnerArch = process.env.RUNNER_ARCH;
const runnerOs = process.env.RUNNER_OS; const runnerOs = process.env.RUNNER_OS;
const binarySuffix = `magic-nix-cache-${runnerArch}-${runnerOs}`; const binarySuffix = `magic-nix-cache-${runnerArch}-${runnerOs}`;
const urlPrefix = `https://magic-nix-cache-priv20231208150408868500000001.s3.us-east-2.amazonaws.com`; const urlPrefix = `https://install.determinate.systems/magic-nix-cache-priv`;
if (core.getInput('source-url')) { if (core.getInput('source-url')) {
return core.getInput('source-url'); return core.getInput('source-url');
} }
@ -44,7 +43,7 @@ function getCacherUrl() : string {
} }
if (core.getInput('source-pr')) { if (core.getInput('source-pr')) {
return `${urlPrefix}/pr_${core.getInput('source-pr')}/${binarySuffix}`; return `${urlPrefix}/pr/${core.getInput('source-pr')}/${binarySuffix}`;
} }
if (core.getInput('source-branch')) { if (core.getInput('source-branch')) {