🎨 Refactoring action packaging logic

This commit is contained in:
Tw93
2023-08-28 18:59:32 +08:00
parent b512384427
commit 76ee3a185e
4 changed files with 17 additions and 21 deletions

View File

@@ -71,14 +71,14 @@ jobs:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}
- name: install dependencies (ubuntu only)
- name: Install dependencies (ubuntu only)
if: matrix.os == 'ubuntu-latest'
uses: awalsh128/cache-apt-pkgs-action@latest
with:
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
- name: Rust cache restore
id: cache_store
uses: actions/cache/restore@v3
with:
@@ -98,7 +98,7 @@ jobs:
URL: ${{ inputs.url }}
run: |
npm install
node ./script/build_with_pake_cli.mjs
node ./script/build_with_pake_cli.js
- name: Build for Ubuntu
if: matrix.os == 'ubuntu-latest'
@@ -129,7 +129,7 @@ jobs:
run: |
git checkout -- src-tauri/Cargo.lock
- name: rust cache store
- name: Rust cache store
uses: actions/cache/save@v3
with:
path: |