Update Rust crate anyhow to v1.0.91 #308
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build app | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [macos-latest, ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install rust stable | |
uses: dtolnay/rust-toolchain@stable | |
- name: Cache rust | |
uses: Swatinem/rust-cache@v2 | |
with: | |
key: ${{ matrix.platform }} | |
workspaces: ./src-tauri | |
- name: Install dev dependencies (ubuntu only) | |
if: matrix.platform == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libwebkit2gtk-4.0-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev | |
- name: Install node dependencies | |
run: yarn | |
- name: Build | |
uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Upload builds | |
uses: actions/upload-artifact@v3 | |
with: | |
path: | | |
src-tauri/target/release/bundle/dmg/*.dmg | |
src-tauri/target/release/bundle/macos/*.app | |
src-tauri/target/release/bundle/deb/*.deb | |
src-tauri/target/release/bundle/appimage/*.AppImage | |
src-tauri/target/release/bundle/msi/*.msi |