diff --git a/action.yml b/action.yml index d46e9ef..527eb67 100644 --- a/action.yml +++ b/action.yml @@ -19,7 +19,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 cc9b2de..8147e7c 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() { const binary_url = getCacherUrl(); diff --git a/src/index.ts b/src/index.ts index 18890fe..a34ff22 100644 --- a/src/index.ts +++ b/src/index.ts @@ -54,7 +54,7 @@ function getCacherUrl() : string { return `${urlPrefix}/rev/${core.getInput('source-revision')}/${binarySuffix}`; } - return `${urlPrefix}/latest/${binarySuffix}`; + return `${urlPrefix}/stable/${binarySuffix}`; } async function fetchAutoCacher() {