diff --git a/action.yml b/action.yml index a678a1f..1960907 100644 --- a/action.yml +++ b/action.yml @@ -15,7 +15,6 @@ inputs: source-branch: description: The branch of `magic-nix-cache` to use. Conflicts with all other `source-*` options. required: false - default: main source-pr: description: The PR of `magic-nix-cache` to use. Conflicts with all other `source-*` options. required: false diff --git a/dist/index.js b/dist/index.js index 15b1d38..af919d8 100644 --- a/dist/index.js +++ b/dist/index.js @@ -12135,7 +12135,7 @@ function getCacherUrl() { if (coreExports.getInput('source-revision')) { return `${urlPrefix}/rev/${coreExports.getInput('source-revision')}/${binarySuffix}`; } - return `${urlPrefix}/latest/${binarySuffix}`; + return `${urlPrefix}/stable/${binarySuffix}`; } async function fetchAutoCacher(destination) { const stream = createWriteStream(destination, { diff --git a/src/index.ts b/src/index.ts index dcbc3a7..bdbfd44 100644 --- a/src/index.ts +++ b/src/index.ts @@ -55,7 +55,7 @@ function getCacherUrl() : string { return `${urlPrefix}/rev/${core.getInput('source-revision')}/${binarySuffix}`; } - return `${urlPrefix}/latest/${binarySuffix}`; + return `${urlPrefix}/stable/${binarySuffix}`; } async function fetchAutoCacher(destination: string) {