chore(deps): bump tauri from 2.1.1 to 2.2.0 in /src-tauri (#468) #1662
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
# Build the application | |
name: Build | |
on: [push, pull_request] | |
jobs: | |
build: | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v3 | |
# Cache Rust | |
- uses: actions/cache@v3 | |
with: | |
path: ./src-tauri/target | |
key: ${{matrix.os}}-${{ hashFiles('./src-tauri/Cargo.lock') }} | |
# Cache Rust | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.cargo | |
key: ${{matrix.os}}-${{ hashFiles('./src-tauri/Cargo.lock') }} | |
# Cache Node | |
- uses: actions/cache@v3 | |
with: | |
path: ./node_modules | |
key: ${{matrix.os}}-${{ hashFiles('./package-lock.json') }} | |
# Cache Next.js | |
- uses: actions/cache@v3 | |
with: | |
path: ./src-next/.next | |
key: ${{matrix.os}} | |
- name: Install Node.js v20 LTS | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- name: Install Rust with Clippy | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
components: rustfmt, clippy | |
- name: Install Tauri dependencies | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install javascriptcoregtk-4.1 libsoup-3.0 webkit2gtk-4.1 -y | |
- name: Install node dependencies | |
run: npm install | |
- name: Build application | |
run: npm run tauri build |