Skip to content

Commit 3552a37

Browse files
committed
fix: update bun installation steps in workflows for proper dependency setup
1 parent 3335809 commit 3552a37

File tree

2 files changed

+30
-6
lines changed

2 files changed

+30
-6
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ jobs:
6060
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
6161
restore-keys: |
6262
${{ runner.os }}-bun-
63-
- run: curl -fsSL https://bun.sh/install | bash && bun install
63+
- run: |
64+
curl -fsSL https://bun.sh/install | bash
65+
source ~/.bashrc
66+
bun install
6467
- name: Import Apple Developer Certificate
6568
env:
6669
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
@@ -147,7 +150,10 @@ jobs:
147150
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
148151
restore-keys: |
149152
${{ runner.os }}-bun-
150-
- run: curl -fsSL https://bun.sh/install | bash && bun install
153+
- run: |
154+
curl -fsSL https://bun.sh/install | bash
155+
source ~/.bashrc
156+
bun install
151157
- uses: tauri-apps/tauri-action@v0
152158
env:
153159
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -208,7 +214,10 @@ jobs:
208214
sudo apt update
209215
sudo apt install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libayatana-appindicator3-dev librsvg2-dev libasound2-dev rpm
210216
echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV
211-
- run: curl -fsSL https://bun.sh/install | bash && bun install
217+
- run: |
218+
curl -fsSL https://bun.sh/install | bash
219+
source ~/.bashrc
220+
bun install
212221
- uses: tauri-apps/tauri-action@v0
213222
env:
214223
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,12 @@ jobs:
6161
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
6262
restore-keys: |
6363
${{ runner.os }}-bun-
64-
- run: curl -fsSL https://bun.sh/install | bash && bun install
64+
- run: curl -fsSL https://bun.sh/install | bash
65+
- name: Install dependencies
66+
run: |
67+
curl -fsSL https://bun.sh/install | bash
68+
source ~/.bashrc
69+
bun install
6570
- name: Import Apple Developer Certificate
6671
env:
6772
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
@@ -129,7 +134,12 @@ jobs:
129134
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
130135
restore-keys: |
131136
${{ runner.os }}-bun-
132-
- run: curl -fsSL https://bun.sh/install | bash && bun install
137+
- run: curl -fsSL https://bun.sh/install | bash
138+
- name: Install dependencies
139+
run: |
140+
curl -fsSL https://bun.sh/install | bash
141+
source ~/.bashrc
142+
bun install
133143
- uses: tauri-apps/tauri-action@v0
134144
env:
135145
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -198,7 +208,12 @@ jobs:
198208
sudo apt update
199209
sudo apt install -y libwebkit2gtk-4.1-dev build-essential curl wget file libssl-dev libayatana-appindicator3-dev librsvg2-dev libasound2-dev rpm
200210
echo "PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig" >> $GITHUB_ENV
201-
- run: curl -fsSL https://bun.sh/install | bash && bun install
211+
- run: curl -fsSL https://bun.sh/install | bash
212+
- name: Install dependencies
213+
run: |
214+
curl -fsSL https://bun.sh/install | bash
215+
source ~/.bashrc
216+
bun install
202217
- name: Generate Changelog
203218
id: changelog
204219
run: |

0 commit comments

Comments
 (0)