mirror of
https://github.com/DeterminateSystems/magic-nix-cache-action.git
synced 2024-12-27 01:30:35 +01:00
/latest/ -> /stable/
This commit is contained in:
parent
14fda4e076
commit
79f590d9a2
2 changed files with 2 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -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, {
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue