From 0d5bccddac235732da26deb9e9a09673542ffb88 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sun, 4 May 2025 00:36:36 +0300 Subject: [PATCH] cd.yaml: fix project dependency cache key --- .gitea/workflows/cd.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 965d856..174bb8b 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -11,13 +11,13 @@ jobs: - uses: actions/checkout@v4 - name: Restore cached cargo dependencies - id: cache-toolchain + id: cache-project-dependencies uses: actions/cache/restore@v4 with: path: | ~/.rustup ~/.cargo - key: ${{ runner.os }}-rust-toolchain + key: ${{ runner.os }}-project-dependencies - run: cargo build --release --target x86_64-unknown-linux-gnu - name: Save cached cargo dependencies id: cache-toolchain @@ -25,7 +25,7 @@ jobs: with: path: | ~/.rustup/toolchains - key: ${{ steps.cache-toolchain.outputs.cache-primary-key }} + key: ${{ steps.cache-project-dependencies.outputs.cache-primary-key }} - name: Upload Release Binary uses: actions/upload-artifact@v3