diff --git a/action.yml b/action.yml index fce5803..2f217ae 100644 --- a/action.yml +++ b/action.yml @@ -13,7 +13,7 @@ outputs: bun-version: description: The version of Bun that was installed. cache-hit: - description: If the version of Bun was cached. (e.g. "1" is true, "0" is false) + description: If the version of Bun was cached. runs: using: node16 main: dist/action.js diff --git a/dist/action.js b/dist/action.js index 9d34bac..a097883 100644 --- a/dist/action.js +++ b/dist/action.js @@ -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); diff --git a/src/action.ts b/src/action.ts index 0b5af5a..8164cc9 100644 --- a/src/action.ts +++ b/src/action.ts @@ -12,7 +12,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);