Drop the binary prefix

This commit is contained in:
Graham Christensen 2024-01-18 11:58:07 -05:00
parent 0876acbf0f
commit 0157564bb2
2 changed files with 2 additions and 2 deletions

2
dist/index.js generated vendored
View file

@ -12118,7 +12118,7 @@ const gotClient = got$1.extend({
function getCacherUrl() { function getCacherUrl() {
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 = `${runnerArch}-${runnerOs}`;
const urlPrefix = `https://install.determinate.systems/magic-nix-cache-priv`; const urlPrefix = `https://install.determinate.systems/magic-nix-cache-priv`;
if (coreExports.getInput('source-url')) { if (coreExports.getInput('source-url')) {
return coreExports.getInput('source-url'); return coreExports.getInput('source-url');

View file

@ -32,7 +32,7 @@ const gotClient = got.extend({
function getCacherUrl() : string { 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 = `${runnerArch}-${runnerOs}`;
const urlPrefix = `https://install.determinate.systems/magic-nix-cache-priv`; 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');