Skip to content

UI Refresh with updated dependencies #54

UI Refresh with updated dependencies

UI Refresh with updated dependencies #54

Workflow file for this run

name: "Test PRs"
on: [pull_request]
jobs:
test-tauri:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-22.04, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- name: Install system dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04'
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install JS dependencies
run: yarn install
- name: Build Desktop app - Tauri Build
id: tauri_build
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload Linux build artifacts
uses: actions/upload-artifact@v4
if: matrix.platform == 'ubuntu-22.04'
with:
name: linux-packages.zip
path: |
${{ github.workspace }}/src-tauri/target/release/bundle/**/*.deb
${{ github.workspace }}/src-tauri/target/release/bundle/**/*.rpm
${{ github.workspace }}/src-tauri/target/release/bundle/**/*.AppImage
- name: Upload Windows build artifacts
uses: actions/upload-artifact@v4
if: matrix.platform == 'windows-latest'
with:
name: windows-installers.zip
path: |
${{ github.workspace }}\src-tauri\target\release\bundle\**\*.exe
${{ github.workspace }}\src-tauri\target\release\bundle\**\*.nsis