better cache

This commit is contained in:
Milo
2023-07-08 18:33:48 +01:00
committed by GitHub
parent a92359b27a
commit 9886eeb318
3 changed files with 8 additions and 65 deletions

View File

@@ -49,16 +49,8 @@ jobs:
packages: libwebkit2gtk-4.0-dev build-essential curl wget libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra
version: 1.1
- name: rust cache restore
uses: actions/cache/restore@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
src-tauri/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: rust cache
uses: Swatinem/rust-cache@v2
- name: build for Ubuntu
if: matrix.os == 'ubuntu-20.04'
@@ -75,11 +67,3 @@ jobs:
shell: pwsh
run: |
npm run build:all-windows
- name: Upload files
# arg info: https://github.com/ncipollo/release-action#release-action
uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "output/*/*.*"
token: ${{ secrets.GITHUB_TOKEN }}