From 612c51f7163977416ca9e120977848eddc362fc5 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Tue, 12 Nov 2024 04:31:03 +0100 Subject: [PATCH] ci: fix cache key issue --- .github/workflows/linux.yml | 2 +- .github/workflows/macos.yml | 4 ++-- .github/workflows/performance_compare.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 43d5a69..9dc5810 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -30,7 +30,7 @@ jobs: path: | ~/v ~/.vmodules - key: ${{ matrix.os }}-${{ github.sha }} + key: ${{ runner.os }}-${{ matrix.os }}-${{ github.sha }} lint: needs: setup diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 123e180..bfcfef5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -31,7 +31,7 @@ jobs: path: | ~/v ~/.vmodules - key: ${{ matrix.os }}-${{ github.sha }} + key: ${{ runner.os }}-${{ matrix.os }}-${{ github.sha }} test: needs: setup @@ -54,7 +54,7 @@ jobs: path: | ~/v ~/.vmodules - key: ${{ matrix.os }}-${{ github.sha }} + key: ${{ runner.os }}-${{ matrix.os }}-${{ github.sha }} fail-on-cache-miss: true - name: Setup V run: ~/v/v symlink diff --git a/.github/workflows/performance_compare.yml b/.github/workflows/performance_compare.yml index 741a30d..a4ea85a 100644 --- a/.github/workflows/performance_compare.yml +++ b/.github/workflows/performance_compare.yml @@ -45,7 +45,7 @@ jobs: path: | ~/v ~/.vmodules - key: ${{ matrix.os }}-${{ github.sha }} + key: ${{ runner.os }}-${{ matrix.os }}-${{ github.sha }} compare: needs: setup