From 7bccb0b779707e292fbd20061296c71641ab325f Mon Sep 17 00:00:00 2001 From: Benau Date: Tue, 1 Mar 2022 16:06:48 +0800 Subject: [PATCH] Remove build cache for msvc --- .github/workflows/windows.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6f900f24f..767a87f4e 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -51,14 +51,14 @@ jobs: for number in 1 2 3 4 5 6 7 8 9 do id=$((${{ github.run_number }} - number)) - echo "cache_$number=windows-2022-${{ github.ref }}-${{ matrix.arch }}-${{ matrix.os }}-$id" >> $GITHUB_ENV + echo "cache_$number=windows-${{ github.ref }}-${{ matrix.arch }}-${{ matrix.os }}-$id" >> $GITHUB_ENV done - name: Handle build cache uses: actions/cache@v2 with: path: | build - key: windows-2022-${{ github.ref }}-${{ matrix.arch }}-${{ matrix.os }}-${{ github.run_number }} + key: windows-${{ github.ref }}-${{ matrix.arch }}-${{ matrix.os }}-${{ github.run_number }} restore-keys: | ${{ env.cache_1 }} ${{ env.cache_2 }}