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