From: Azat Khuzhin Date: Tue, 5 May 2020 11:57:59 +0000 (+0300) Subject: ci: change cache key for windows/mingw X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c19ebffb21eaef2f9d6726ec6fd6d797fb2c8935;p=libevent ci: change cache key for windows/mingw Should fix the following current failures: - 2020-05-04T22:32:02.9490248Z C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(231,5): error MSB6006: "cmd.exe" exited with code 3. [D:\a\libevent\libevent\build\regress.vcxproj] - cmake : /usr/bin/sh: /C/hostedtoolcache/windows/Python/3.7.6/x64/python.exe: No such file or directory P.S. I guess python has another path, but on my fork it is the same and it passes. --- diff --git a/.github/workflows/mingw.yml b/.github/workflows/mingw.yml index ec937bd7..8758242c 100644 --- a/.github/workflows/mingw.yml +++ b/.github/workflows/mingw.yml @@ -46,7 +46,7 @@ jobs: uses: actions/cache@v1.1.2 with: path: build - key: mingw-autotools-${{ matrix.EVENT_MATRIX }} + key: mingw-autotools-${{ matrix.EVENT_MATRIX }}-v2 - uses: numworks/setup-msys2@v1 if: steps.cache-mingw.outputs.cache-hit != 'true' @@ -115,7 +115,7 @@ jobs: uses: actions/cache@v1.1.2 with: path: build - key: mingw-cmake-${{ matrix.EVENT_MATRIX }} + key: mingw-cmake-${{ matrix.EVENT_MATRIX }}-v2 - uses: numworks/setup-msys2@v1 if: steps.cache-mingw-cmake.outputs.cache-hit != 'true' diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 8b2712cb..15e75acd 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -42,7 +42,7 @@ jobs: uses: actions/cache@v1.0.3 with: path: build - key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-v2 + key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-v3 - name: Install Depends if: steps.cache-depends.outputs.cache-hit != 'true' @@ -154,7 +154,7 @@ jobs: uses: actions/cache@v1.1.0 with: path: build - key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-build-v2 + key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-v3 - name: Install Depends if: steps.cache-depends.outputs.cache-hit != 'true'