Update release.yml
This commit is contained in:
@@ -45,6 +45,10 @@ jobs:
|
||||
node-version: lts/*
|
||||
cache: 'npm'
|
||||
|
||||
- name: Purge cargo
|
||||
run: |
|
||||
rm -rf ~/.cargo/registry ~/.cargo/git ./target || true
|
||||
|
||||
- name: install Rust stable (linux only)
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm'
|
||||
@@ -65,6 +69,7 @@ jobs:
|
||||
uses: swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: './src-tauri -> target'
|
||||
key: ${{ runner.os }}-${{ runner.arch }}
|
||||
|
||||
- name: install dependencies (linux only)
|
||||
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-22.04-arm' # This must match the platform value defined above.
|
||||
@@ -75,7 +80,7 @@ jobs:
|
||||
- name: install dependencies (linux arm only)
|
||||
if: matrix.platform == 'ubuntu-22.04-arm' # This must match the platform value defined above.
|
||||
run: |
|
||||
sudo apt-get install -y xdg-utils curl dev build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev libfuse2 file
|
||||
sudo apt-get install -y xdg-utils curl build-essential libssl-dev libgtk-3-dev libayatana-appindicator3-dev libfuse2 file
|
||||
|
||||
- name: install dependencies (windows only)
|
||||
if: matrix.platform == 'windows-11-arm'
|
||||
|
||||
Reference in New Issue
Block a user