Skip to content

ci: try again with tauri action #4

ci: try again with tauri action

ci: try again with tauri action #4

Workflow file for this run

name: Build
on:
push:
workflow_call:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: write
jobs:
build:
strategy:
matrix:
platform: [macos-latest, ubuntu-20.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8.14.1
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- run: pnpm i
- run: pnpm build --filter @zebar/client --filter zebar
- uses: tauri-apps/tauri-action@v0
with:
projectPath: './packages/desktop'
# - run: pnpm build
# - uses: actions/upload-artifact@v3
# with:
# name: bundle-${{ matrix.platform }}
# path: ${{ github.workspace }}/target/release/bundle