fix: update bun installation steps in workflows for proper dependency setup

This commit is contained in:
PandaDEV 2025-01-01 18:31:12 +10:00
parent 33358095ec
commit 3552a3779b
No known key found for this signature in database
GPG key ID: 13EFF9BAF70EE75C
2 changed files with 30 additions and 6 deletions

View file

@ -60,7 +60,10 @@ jobs:
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-
- run: curl -fsSL https://bun.sh/install | bash && bun install
- run: |
curl -fsSL https://bun.sh/install | bash
source ~/.bashrc
bun install
- name: Import Apple Developer Certificate
env:
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
@ -147,7 +150,10 @@ jobs:
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-bun-
- run: curl -fsSL https://bun.sh/install | bash && bun install
- run: |
curl -fsSL https://bun.sh/install | bash
source ~/.bashrc
bun install
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@ -208,7 +214,10 @@ jobs:
sudo apt update
sudo apt install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libayatana-appindicator3-dev librsvg2-dev libasound2-dev rpm
echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV
- run: curl -fsSL https://bun.sh/install | bash && bun install
- run: |
curl -fsSL https://bun.sh/install | bash
source ~/.bashrc
bun install
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}