From e8e14c49c8346c92adfa8350d53f01d287c6139b Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Mon, 17 Mar 2025 20:15:16 -0400 Subject: [PATCH] try single cache action --- .gitea/workflows/build.yaml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index fc3f301..06dad8b 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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 }}