|
|
@ -29,7 +29,7 @@ jobs:
|
|
|
|
src-tauri/target
|
|
|
|
src-tauri/target
|
|
|
|
~/.cargo
|
|
|
|
~/.cargo
|
|
|
|
key: ${{ runner.os }}-dependencies-${{ hashFiles('src-tauri/Cargo.lock') }}-${{ hashFiles('yarn.lock') }}
|
|
|
|
key: ${{ runner.os }}-dependencies-${{ hashFiles('src-tauri/Cargo.lock') }}-${{ hashFiles('yarn.lock') }}
|
|
|
|
restore_keys: |
|
|
|
|
restore-keys: |
|
|
|
|
${{ runner.os }}-dependencies-
|
|
|
|
${{ runner.os }}-dependencies-
|
|
|
|
|
|
|
|
|
|
|
|
- name: Use Node.js 16
|
|
|
|
- name: Use Node.js 16
|
|
|
@ -49,6 +49,13 @@ jobs:
|
|
|
|
- name: Install dependencies
|
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn install
|
|
|
|
run: yarn install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Install OS-specific dependencies
|
|
|
|
|
|
|
|
uses: knicknic/os-specific-run@v1.0.3
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
linux: |
|
|
|
|
|
|
|
|
sudo apt update
|
|
|
|
|
|
|
|
sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libappindicator3-dev patchelf librsvg2-dev -y
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build project
|
|
|
|
- name: Build project
|
|
|
|
run: cargo tauri build --debug
|
|
|
|
run: cargo tauri build --debug
|
|
|
|
|
|
|
|
|
|
|
|