From 14fda4e07607666fbdadd43a584ee4bc68398082 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 6 Mar 2024 10:36:32 -0500 Subject: [PATCH 1/2] Stop setting the default source branch to 'main' --- action.yml | 1 - 1 file changed, 1 deletion(-) 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 From 79f590d9a26e96e588b13a36c8cd549cdc5b5ddb Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Wed, 6 Mar 2024 10:59:54 -0500 Subject: [PATCH 2/2] /latest/ -> /stable/ --- 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 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) {