mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-26 09:20:35 +01:00
Drop the binary prefix
This commit is contained in:
parent
0876acbf0f
commit
0157564bb2
2 changed files with 2 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -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');
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue