mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-04-02 01:30:17 +08:00
Update cache-save.ts
This commit is contained in:
parent
aea58ec4e7
commit
96200b487e
@ -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…
x
Reference in New Issue
Block a user