From 12d97b2197efdbe1bb8cf157e6b56c0316a94db9 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sun, 4 May 2025 00:56:37 +0300 Subject: [PATCH] cd.yaml: do not use runner's os as cache key, since it seems buggy --- .gitea/workflows/cd.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 66e59ff..7ec339a 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -12,7 +12,7 @@ jobs: with: path: | ~/.rustup/toolchains - key: ${{ runner.os }}-rust-toolchainv2 + key: linux-rust-toolchainv2 - name: Install minimal stable with clippy and rustfmt uses: actions-rs/toolchain@v1 with: @@ -39,7 +39,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ target - key: ${{ runner.os }}-project-dependencies + key: linux-project-dependencies - run: cargo build --release --target x86_64-unknown-linux-gnu - name: Save cached cargo dependencies id: cache-project-dependencies-restore