This commit is contained in:
Jozef Steinhübl 2024-04-02 12:01:24 +02:00
parent 5ea1ea8952
commit 59d4cef3d8
3 changed files with 4 additions and 3 deletions

2
dist/setup/index.js generated vendored

File diff suppressed because one or more lines are too long

View file

@ -107,9 +107,7 @@ export default async (options: Input): Promise<Output> => {
url,
};
console.log("Saving cache state: " + JSON.stringify(cacheState));
saveState("cache", JSON.stringify(cacheState));
console.log("Saved cache state: " + JSON.stringify(cacheState));
return {
version,

View file

@ -68,9 +68,12 @@ runAction({
noCache: getBooleanInput("no-cache") || false,
})
.then(({ version, revision, cacheHit }) => {
console.log("Setting output");
setOutput("bun-version", version);
setOutput("bun-revision", revision);
setOutput("cache-hit", cacheHit);
console.log("Done");
process.exit(0);
})
.catch((error) => {
setFailed(error);