Skip to content

Commit

Permalink
fix bun
Browse files Browse the repository at this point in the history
  • Loading branch information
OldGodShen committed Jun 3, 2024
1 parent fd5ebad commit 5a6fd72
Showing 1 changed file with 19 additions and 14 deletions.
33 changes: 19 additions & 14 deletions .github/workflows/tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Install bun
run: |
curl -fsSL https://bun.sh/install | bash
echo 'export BUN_INSTALL="$HOME/.bun"' >> $GITHUB_ENV
echo 'export PATH="$BUN_INSTALL/bin:$PATH"' >> $GITHUB_ENV
source $GITHUB_ENV
- name: Verify bun installation
run: bun --version

- name: Build
run: |
bun tauri build --verbose
- uses: actions/checkout@v4

- name: Install bun
run: |
curl -fsSL https://bun.sh/install | bash
echo 'export BUN_INSTALL="$HOME/.bun"' >> $GITHUB_ENV
echo 'export PATH="$BUN_INSTALL/bin:$PATH"' >> $GITHUB_ENV
- name: Load bun environment
run: |
echo 'BUN_INSTALL=$HOME/.bun' >> $GITHUB_ENV
echo 'PATH=$BUN_INSTALL/bin:$PATH' >> $GITHUB_ENV
source ~/.bashrc
- name: Verify bun installation
run: echo $PATH && bun --version

- name: Build
run: bun tauri build --verbose

0 comments on commit 5a6fd72

Please sign in to comment.