From 8cd8f6306a5dde0956e38f748e80a0a75d99ad23 Mon Sep 17 00:00:00 2001 From: Akulij Date: Sun, 4 May 2025 00:00:51 +0300 Subject: [PATCH] cd.yaml: fix cache paths for rust toolchain --- .gitea/workflows/cd.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/cd.yaml b/.gitea/workflows/cd.yaml index 8ff0c07..baa1248 100644 --- a/.gitea/workflows/cd.yaml +++ b/.gitea/workflows/cd.yaml @@ -23,7 +23,8 @@ jobs: uses: actions/cache/save@v4 with: path: | - ~/.rustup/toolchains + ~/.rustup + ~/.cargo key: ${{ steps.cache-toolchain.outputs.cache-primary-key }} - uses: actions/checkout@v4 @@ -33,7 +34,8 @@ jobs: uses: actions/cache/restore@v4 with: path: | - ~/.rustup/toolchains + ~/.rustup + ~/.cargo key: ${{ runner.os }}-rust-toolchain - run: cargo build --release --target x86_64-unknown-linux-gnu - name: Save cached cargo dependencies