try single cache action

This commit is contained in:
Silas Bartha 2025-03-17 20:15:16 -04:00
parent 0883e21250
commit e8e14c49c8
Signed by: soaos
GPG Key ID: 9BD3DCC0D56A09B2

@ -12,8 +12,7 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4
- name: Restore cache
id: restore-cache
uses: actions/cache/restore@v4
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
@ -24,13 +23,3 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build
run: cargo build --release
- name: Save cache
uses: actions/cache/save@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ steps.restore-cache.outputs.cache-primary-key }}