Skip to content

Bump serde from 1.0.209 to 1.0.210 #19

Bump serde from 1.0.209 to 1.0.210

Bump serde from 1.0.209 to 1.0.210 #19

Workflow file for this run

name: 'Build'
on:
pull_request:
branches:
- development
jobs:
Build-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
artifact-name: 'tauri-build-macos-arm'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
artifact-name: 'tauri-build-macos-intel'
- platform: 'ubuntu-22.04'
args: ''
artifact-name: 'tauri-build-ubuntu'
- platform: 'windows-latest'
args: ''
artifact-name: 'tauri-build-windows'
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libjack-dev librust-alsa-sys-dev
- name: setup node
uses: actions/setup-node@v4
with:
node-version: lts/*
cache: 'yarn' # Set this to npm, yarn or pnpm.
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable # Set this to dtolnay/rust-toolchain@nightly
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}
# Cache Rust dependencies
- name: Cache Rust cargo and target folders
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-
- name: Rust cache
uses: swatinem/rust-cache@v2
with:
workspaces: './src-tauri -> target'
- name: install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: yarn install # change this to npm or pnpm depending on which one you use.
# Cache the Tauri target directory for faster builds
- name: Cache Tauri target directory
uses: actions/cache@v4
with:
path: target/release
key: ${{ runner.os }}-tauri-target-${{ hashFiles('src-tauri/Cargo.toml') }}
restore-keys: |
${{ runner.os }}-tauri-target-
- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: ${{ matrix.args }}
includeDebug: true
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: tauri-build-${{ matrix.artifact-name }}
path: target/**/release/bundle/
if-no-files-found: warn