Merge remote-tracking branch 'origin/main' into flakehub-cache

This commit is contained in:
Graham Christensen 2024-03-06 11:32:22 -05:00
commit 1b7becab50
3 changed files with 2 additions and 3 deletions

View file

@ -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

2
dist/index.js generated vendored
View file

@ -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();

View file

@ -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() {