oven-sh / setup-bun

Set up your GitHub Actions workflow with a specific version of Bun
MIT License
451 stars 37 forks source link

Specifying bun-download-url does not work #104

Closed mtsewrs closed 1 month ago

mtsewrs commented 1 month ago

Using macos-latest on github action

uses: oven-sh/setup-bun@v2
with:
  bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-darwin-x64.zip"

This errors with "Error: Downloaded a new version of Bun, but failed to check its version? Try again"

xhyrom commented 1 month ago

macos-latest cpu is aarch64, not x86. You can also change the url to something like in: https://github.com/oven-sh/setup-bun/pull/105/files#diff-faff1af3d8ff408964a57b2e475f69a6b7c7b71c9978cccc8f471798caac2c88R148

mtsewrs commented 1 month ago

Ah it should be aarch64, that makes sense. Thanks I'll try that