Update build.yml
This commit is contained in:
parent
e24dfd8834
commit
65dd761414
26
.github/workflows/build.yml
vendored
26
.github/workflows/build.yml
vendored
@ -16,31 +16,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository code
|
- name: Checkout repository code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
# Cache Rust
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ./src-tauri/target
|
|
||||||
key: ${{matrix.os}}-${{ hashFiles('./src-tauri/Cargo.lock') }}
|
|
||||||
|
|
||||||
# Cache Rust
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ~/.cargo
|
|
||||||
key: ${{matrix.os}}-${{ hashFiles('./src-tauri/Cargo.lock') }}
|
|
||||||
|
|
||||||
# Cache Node
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ./node_modules
|
|
||||||
key: ${{matrix.os}}-${{ hashFiles('./package-lock.json') }}
|
|
||||||
|
|
||||||
# Cache Next.js
|
|
||||||
- uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ./src-next/.next
|
|
||||||
key: ${{matrix.os}}
|
|
||||||
|
|
||||||
- name: Install Node.js v20 LTS
|
- name: Install Node.js v20 LTS
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user