From 9333b27d834c37a8c9f4b2580493bb0a692c7b16 Mon Sep 17 00:00:00 2001 From: Rushil Perera Date: Sun, 2 Jun 2024 07:24:37 -0400 Subject: [PATCH] Specify Bun URL for GH Action Due to oven-sh/setup-bun#82, the default URL isn't working so I'm setting the download URL to point to GH releases. --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f024f55..3ab34f2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,8 @@ jobs: steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 + with: + bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-${{runner.os == 'macOS' && 'darwin' || runner.os}}-${{ runner.arch == 'X64' && 'x64' || 'arm64' }}.zip" - name: Deploy uses: cloudflare/wrangler-action@v3 with: