success artifiacts renamed #10
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: 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 |