different caching mechanism
This commit is contained in:
@@ -13,18 +13,8 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Cache Cargo Dependencies
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-cargo-
|
||||
|
||||
- name: Build
|
||||
export CARGO_TARGET_DIR=/home/jeremy/cache/site_target
|
||||
run: cargo build --release
|
||||
|
||||
- name: Move to opt
|
||||
|
||||
Reference in New Issue
Block a user