]> granicus.if.org Git - libevent/commitdiff
github workflows: ignore previous cache
authoryuangongji <yuangongji@foxmail.com>
Sun, 22 Mar 2020 10:35:24 +0000 (18:35 +0800)
committeryuangongji <yuangongji@foxmail.com>
Sun, 22 Mar 2020 14:34:41 +0000 (22:34 +0800)
modify the cache key to ignore previous cache
for the changes of configure.ac/CMakeLists.txt
to take effect.

.github/workflows/coverage.yml
.github/workflows/linux.yml
.github/workflows/macos.yml
.github/workflows/mingw.yml
.github/workflows/windows.yml

index 3a34fbe5318315889817517d0220d820013e74d8..c296e44ee5e9aa24a3cf9930ae30d6bf566de978 100644 (file)
@@ -21,7 +21,7 @@ jobs:
         uses: actions/cache@v1.0.3
         with:
           path: build
-          key: ${{ matrix.os }}-coverage
+          key: ${{ matrix.os }}-coverage-v2
 
       - name: Install Depends
         run: sudo apt install zlib1g-dev libssl-dev build-essential lcov
index a9bf42206a97c96f37e7c5379b29da807cbe38a9..6b1d0dd465bfe5e3e1e1feecd06fb451e5ebf79b 100644 (file)
@@ -41,7 +41,7 @@ jobs:
         uses: actions/cache@v1.1.0
         with:
           path: build
-          key: ${{ matrix.os }}-cmake-${{ matrix.EVENT_MATRIX }}
+          key: ${{ matrix.os }}-cmake-${{ matrix.EVENT_MATRIX }}-v2
 
       - name: Build And Test
         shell: bash
@@ -115,7 +115,7 @@ jobs:
         uses: actions/cache@v1.1.0
         with:
           path: build
-          key: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}
+          key: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-v2
 
       - name: Build And Test
         shell: bash
index fc5c37035190d3b06c143955ee5d1444cfe55ce4..9363f50ed985fc01b69a6a37377b6a72f48d6a3b 100644 (file)
@@ -42,7 +42,7 @@ jobs:
         uses: actions/cache@v1.1.0
         with:
           path: build
-          key: macos-10.15-cmake-${{ matrix.EVENT_MATRIX }}
+          key: macos-10.15-cmake-${{ matrix.EVENT_MATRIX }}-v2
 
       - name: Build And Test
         shell: bash
@@ -119,7 +119,7 @@ jobs:
         uses: actions/cache@v1.1.0
         with:
           path: build
-          key: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}
+          key: ${{ matrix.os }}-autotools-${{ matrix.EVENT_MATRIX }}-v2
 
       - name: Install Depends
         run: brew install autoconf automake libtool pkg-config
index 80cdf8baa7c16e4f890586e1b1345dbe8ab203b3..05a793573cf02c3eb807d9f027e965b8a3bb6234 100644 (file)
@@ -45,7 +45,7 @@ jobs:
         uses: actions/cache@v1.1.2
         with:
           path: build
-          key: mingw-${{ matrix.EVENT_MATRIX }}
+          key: mingw-autotools-${{ matrix.EVENT_MATRIX }}
 
       - uses: numworks/setup-msys2@v1
         if: steps.cache-mingw.outputs.cache-hit != 'true'
index 9eea22f9a53795690733b667b6695899f4a3914d..ffea2b12e8c4997879bf48518a68222e24bfae94 100644 (file)
@@ -41,7 +41,7 @@ jobs:
         uses: actions/cache@v1.0.3
         with:
           path: build
-          key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}
+          key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-v2
 
       - name: Install Depends
         if: steps.cache-depends.outputs.cache-hit != 'true'
@@ -152,7 +152,7 @@ jobs:
         uses: actions/cache@v1.1.0
         with:
           path: build
-          key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-build
+          key: ${{ matrix.os }}-${{ matrix.EVENT_MATRIX }}-build-v2
 
       - name: Install Depends
         if: steps.cache-depends.outputs.cache-hit != 'true'