mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-11 20:08:37 +00:00
fix: windows rust cache (#1710)
This commit is contained in:
16
.github/workflows/client-app.yml
vendored
16
.github/workflows/client-app.yml
vendored
@@ -173,6 +173,11 @@ jobs:
|
||||
- name: install Rust stable
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Rust cache
|
||||
uses: swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: './packages/octobase-node -> target'
|
||||
|
||||
- uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: before-make-web-static
|
||||
@@ -183,18 +188,13 @@ jobs:
|
||||
name: before-make-electron-dist
|
||||
path: apps/electron/dist
|
||||
|
||||
- name: move octobase Binary
|
||||
run: cp ./packages/octobase-node/octobase.*.node ./apps/electron/dist/layers/main/
|
||||
|
||||
- name: Rust cache
|
||||
uses: swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: './packages/octobase-node -> target'
|
||||
|
||||
- name: build octobase-node
|
||||
run: yarn build:octobase-node
|
||||
working-directory: apps/electron
|
||||
|
||||
- name: move octobase Binary
|
||||
run: cp ./packages/octobase-node/octobase.*.node ./apps/electron/dist/layers/main/
|
||||
|
||||
- name: make build
|
||||
run: yarn make-windows-x64
|
||||
working-directory: apps/electron
|
||||
|
||||
Reference in New Issue
Block a user