]> granicus.if.org Git - libevent/commitdiff
ci: change cache key for windows/mingw
authorAzat Khuzhin <azat@libevent.org>
Tue, 5 May 2020 11:57:59 +0000 (14:57 +0300)
committerAzat Khuzhin <azat@libevent.org>
Tue, 5 May 2020 12:01:25 +0000 (15:01 +0300)
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.

.github/workflows/mingw.yml
.github/workflows/windows.yml

index ec937bd7a9825fe171a2a40530cdcda40c35c606..8758242c941ad6f2f567af339e38310ee381a5c8 100644 (file)
@@ -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'
index 8b2712cb641bc717f6d77eb480fb7258ea23e4d3..15e75acdaada670824804625b5cd80354a970cec 100644 (file)
@@ -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'