Skip to content

success artifiacts renamed #10

success artifiacts renamed

success artifiacts renamed #10

Workflow file for this run

name: Run Build and test Tauri App
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
pull_request:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Rust Dependencies
run: rustup target add x86_64-unknown-linux-gnu
- name: Install dependencies for Tauri
working-directory: ./tauri-monitoring
# run: npm install
run: echo "Installing Tauri dependencies..."
- name: Test Tauri app
working-directory: ./tauri-monitoring
# run: npm test
run: echo "Running Tauri tests..."
- name: Build Tauri app
working-directory: ./tauri-monitoring
# run: npm run tauri build
run: echo "Building Tauri app..."
- name: Upload success marker
run: echo "tauri-build-success" > tauri-build-success.txt
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: tauri-build-success
path: tauri-build-success.txt