🎨 Refactoring action packaging logic
This commit is contained in:
8
.github/workflows/pake_build_single_app.yaml
vendored
8
.github/workflows/pake_build_single_app.yaml
vendored
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user