chore(deps): update actions/upload-artifact action to v4 #5
Workflow file for this run
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
# SPDX-FileCopyrightText: Copyright (c) 2022-2023 trobonox <[email protected]> | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: "Test Tauri app on pull requests" | |
on: | |
pull_request: | |
types: [ opened, reopened ] | |
branches: | |
- main | |
paths: | |
- '.github/workflows/**' | |
- 'src/**' | |
- 'src-tauri/**' | |
jobs: | |
test-tauri: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: [ubuntu-20.04] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: install Rust stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
- name: install dependencies (ubuntu only) | |
if: matrix.platform == 'ubuntu-20.04' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf | |
- name: install app dependencies and build it | |
run: yarn && yarn generate | |
- uses: tauri-apps/tauri-action@v0 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |