ci: install bun from the npm registry (GitHub release assets answer 504 now and then), bun.sh with retries as fallback

This commit is contained in:
CRTkafa 2026-11-08 16:23:15 +07:00
parent 96458bba5c
commit 3a22d7f455
5 changed files with 21 additions and 7 deletions

View file

@ -35,7 +35,7 @@ runs:
shell: bash
run: |
P="${FORGEJO_PATH:-$GITHUB_PATH}"
curl -fsSL https://bun.sh/install | bash -s "bun-v${BUN_VERSION}" >/dev/null
bash tools/ci-install-bun.sh
echo "$HOME/.bun/bin" >> "$P"
command -v rustup || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
echo "$HOME/.cargo/bin" >> "$P"