ci: replace oven-sh/setup-bun with curl install for Gitea Actions compatibility
Validate / test (pull_request) Failing after 19s
Validate / test (pull_request) Failing after 19s
The action is a GitHub Marketplace action that doesn't exist on self-hosted Gitea instances. Replace it with the standard curl-based Bun installation method and add ~/.bun/bin to GITHUB_PATH.
This commit is contained in:
@@ -14,9 +14,9 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Setup Bun
|
- name: Setup Bun
|
||||||
uses: oven-sh/setup-bun@v2
|
run: curl -fsSL https://bun.sh/install | bash
|
||||||
with:
|
- name: Add Bun to PATH
|
||||||
bun-version: latest
|
run: echo "$HOME/.bun/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install
|
run: bun install
|
||||||
|
|||||||
Reference in New Issue
Block a user