mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-27 01:30:35 +01:00
Use -closure ids
This commit is contained in:
parent
1b7becab50
commit
455b918565
2 changed files with 2 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -12119,7 +12119,7 @@ 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 = `${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-closure`;
|
||||||
if (coreExports.getInput('source-url')) {
|
if (coreExports.getInput('source-url')) {
|
||||||
return coreExports.getInput('source-url');
|
return coreExports.getInput('source-url');
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,7 +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 = `${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-closure`;
|
||||||
if (core.getInput('source-url')) {
|
if (core.getInput('source-url')) {
|
||||||
return core.getInput('source-url');
|
return core.getInput('source-url');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue