Skip to content

Got an old Bun version from cache #146

@avbasov

Description

@avbasov

We used to use Bun 1.3.0 and then upgraded to 1.3.1. Bun version is stored in .bun-version file.

We use the action like this

- uses: oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76 # v2.0.2
  with:
      bun-version-file: ".bun-version"

Log that we got

Run oven-sh/setup-bun@735343b667d3e6f658f44d0eca948eb6282f2b76
Obtained version 1.3.1 from .bun-version
Cache hit for: PFxRDTsQC2CBRTRk3TMxWNYXnd0=
Received 36332823 of 36332823 (100.0%), 44.1 MBs/sec
Cache Size: ~35 MB (36332823 B)
Cache restored successfully
/home/runner/.bun/bin/bun --revision
1.3.0+b0a6feca5
Using a cached version of Bun: 1.3.0+b0a6feca5

I deleted the cache key PFxRDTsQC2CBRTRk3TMxWNYXnd0= and after that it cached 1.3.1 with the same key.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions