build: added manual bun install
This commit is contained in:
parent
fe544ecbc0
commit
6f3be22da9
1 changed files with 14 additions and 4 deletions
|
|
@ -18,10 +18,20 @@ jobs:
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y unzip libstdc++6
|
apt-get install -y unzip libstdc++6
|
||||||
|
|
||||||
- name: Setup Bun
|
- name: Manual Bun Install
|
||||||
uses: https://github.com/oven-sh/setup-bun@v2
|
run: |
|
||||||
with:
|
# Download and install via official script
|
||||||
bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-linux-x64.zip"
|
curl -fsSL https://bun.sh/install | bash
|
||||||
|
|
||||||
|
# Manually add Bun to the PATH for subsequent steps
|
||||||
|
echo "BUN_INSTALL=$HOME/.bun" >> $GITHUB_ENV
|
||||||
|
echo "$HOME/.bun/bin" >> $GITHUB_PATH
|
||||||
|
|
||||||
|
# Force execution permissions just in case
|
||||||
|
chmod +x $HOME/.bun/bin/bun
|
||||||
|
|
||||||
|
# Verify it works immediately
|
||||||
|
$HOME/.bun/bin/bun --version
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: bun install --frozen-lockfile
|
run: bun install --frozen-lockfile
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue