mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
Cache desktop release dependencies
This commit is contained in:
27
.github/workflows/desktop-release.yml
vendored
27
.github/workflows/desktop-release.yml
vendored
@@ -77,6 +77,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "22"
|
node-version: "22"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
cache-dependency-path: package-lock.json
|
||||||
registry-url: "https://npm.pkg.github.com"
|
registry-url: "https://npm.pkg.github.com"
|
||||||
scope: "@boudra"
|
scope: "@boudra"
|
||||||
|
|
||||||
@@ -85,6 +86,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
targets: ${{ matrix.rust_target }}
|
targets: ${{ matrix.rust_target }}
|
||||||
|
|
||||||
|
- name: Restore Rust cache
|
||||||
|
uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
shared-key: desktop-release-macos-${{ matrix.rust_target }}
|
||||||
|
workspaces: |
|
||||||
|
.
|
||||||
|
packages/desktop/src-tauri -> target
|
||||||
|
|
||||||
- name: Install JS dependencies
|
- name: Install JS dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
env:
|
env:
|
||||||
@@ -241,12 +250,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "22"
|
node-version: "22"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
cache-dependency-path: package-lock.json
|
||||||
registry-url: "https://npm.pkg.github.com"
|
registry-url: "https://npm.pkg.github.com"
|
||||||
scope: "@boudra"
|
scope: "@boudra"
|
||||||
|
|
||||||
- name: Install Rust stable
|
- name: Install Rust stable
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
|
- name: Restore Rust cache
|
||||||
|
uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
shared-key: desktop-release-linux
|
||||||
|
workspaces: |
|
||||||
|
.
|
||||||
|
packages/desktop/src-tauri -> target
|
||||||
|
|
||||||
- name: Install JS dependencies
|
- name: Install JS dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
env:
|
env:
|
||||||
@@ -364,12 +382,21 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: "22"
|
node-version: "22"
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
|
cache-dependency-path: package-lock.json
|
||||||
registry-url: "https://npm.pkg.github.com"
|
registry-url: "https://npm.pkg.github.com"
|
||||||
scope: "@boudra"
|
scope: "@boudra"
|
||||||
|
|
||||||
- name: Install Rust stable
|
- name: Install Rust stable
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
|
|
||||||
|
- name: Restore Rust cache
|
||||||
|
uses: Swatinem/rust-cache@v2
|
||||||
|
with:
|
||||||
|
shared-key: desktop-release-windows
|
||||||
|
workspaces: |
|
||||||
|
.
|
||||||
|
packages/desktop/src-tauri -> target
|
||||||
|
|
||||||
- name: Install JS dependencies
|
- name: Install JS dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user