mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
Update cache-save.ts
This commit is contained in:
parent
aea58ec4e7
commit
96200b487e
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import { createHash } from "node:crypto";
|
|||
if (state.cacheEnabled && !state.cacheHit) {
|
||||
const cacheKey = createHash('sha1')
|
||||
.update(state.url)
|
||||
.digest('base64')
|
||||
.digest('base64');
|
||||
|
||||
try {
|
||||
await saveCache([state.bunPath], cacheKey);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue