From 0157564bb230fc4d5e36a1b0e2b4ce8470d899e3 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 18 Jan 2024 11:58:07 -0500 Subject: [PATCH] Drop the binary prefix --- dist/index.js | 2 +- src/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index b2e1906..242137e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12118,7 +12118,7 @@ const gotClient = got$1.extend({ function getCacherUrl() { const runnerArch = process.env.RUNNER_ARCH; 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`; if (coreExports.getInput('source-url')) { return coreExports.getInput('source-url'); diff --git a/src/index.ts b/src/index.ts index 2969413..beac218 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 = `magic-nix-cache-${runnerArch}-${runnerOs}`; + const binarySuffix = `${runnerArch}-${runnerOs}`; const urlPrefix = `https://install.determinate.systems/magic-nix-cache-priv`; if (core.getInput('source-url')) { return core.getInput('source-url');