different caching mechanism

This commit is contained in:
2026-01-31 18:55:08 -05:00
parent ca37894e8b
commit f9d268b3e5

View File

@@ -12,19 +12,9 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 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 - name: Build
export CARGO_TARGET_DIR=/home/jeremy/cache/site_target
run: cargo build --release run: cargo build --release
- name: Move to opt - name: Move to opt