Make cacheHit conform to best practices for actions

This commit is contained in:
Ashcon Partovi 2023-03-01 15:58:31 -08:00
parent c7179230d0
commit 157143337b
3 changed files with 3 additions and 3 deletions

2
dist/action.js vendored
View file

@ -10,7 +10,7 @@ setup({
})
.then(({ version, cacheHit }) => {
action.setOutput("bun-version", version);
action.setOutput("cache-hit", cacheHit ? "1" : "0");
action.setOutput("cache-hit", cacheHit);
})
.catch((error) => {
action.setFailed(error);