/latest/ -> /stable/

This commit is contained in:
Graham Christensen 2024-03-06 10:59:54 -05:00
parent 14fda4e076
commit 79f590d9a2
2 changed files with 2 additions and 2 deletions

2
dist/index.js generated vendored
View file

@ -12135,7 +12135,7 @@ function getCacherUrl() {
if (coreExports.getInput('source-revision')) { if (coreExports.getInput('source-revision')) {
return `${urlPrefix}/rev/${coreExports.getInput('source-revision')}/${binarySuffix}`; return `${urlPrefix}/rev/${coreExports.getInput('source-revision')}/${binarySuffix}`;
} }
return `${urlPrefix}/latest/${binarySuffix}`; return `${urlPrefix}/stable/${binarySuffix}`;
} }
async function fetchAutoCacher(destination) { async function fetchAutoCacher(destination) {
const stream = createWriteStream(destination, { const stream = createWriteStream(destination, {

View file

@ -55,7 +55,7 @@ function getCacherUrl() : string {
return `${urlPrefix}/rev/${core.getInput('source-revision')}/${binarySuffix}`; return `${urlPrefix}/rev/${core.getInput('source-revision')}/${binarySuffix}`;
} }
return `${urlPrefix}/latest/${binarySuffix}`; return `${urlPrefix}/stable/${binarySuffix}`;
} }
async function fetchAutoCacher(destination: string) { async function fetchAutoCacher(destination: string) {