]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! GHA: Make ngtcp2 cache... ngtcp2-cache
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Fri, 31 May 2024 11:30:36 +0000 (20:30 +0900)
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>
Fri, 31 May 2024 11:30:36 +0000 (20:30 +0900)
.github/workflows/ngtcp2-linux.yml

index 4097d9839026c054df77ebc82741240498e48aa1..ef00bf3a78aa68fa0b4fa1ff20936d901d1dd22c 100644 (file)
@@ -373,30 +373,6 @@ jobs:
           key: ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.nghttp2-version }}
           fail-on-cache-miss: true
 
-      - name: cache mod_h2
-        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
-        id: cache-mod_h2
-        env:
-          cache-name: cache-mod_h2
-        with:
-          path: /home/runner/mod_h2
-          key: ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.mod_h2-version }}
-
-      - if: steps.cache-mod_h2.outputs.cache-hit != 'true'
-        run: |
-          cd $HOME
-          git clone --quiet --depth=1 -b v${{ env.mod_h2-version }} https://github.com/icing/mod_h2
-          cd mod_h2
-          autoreconf -fi
-          ./configure
-          make
-        name: 'build mod_h2'
-
-      - run: |
-          cd $HOME/mod_h2
-          sudo make install
-        name: 'install mod_h2'
-
       - name: cache openssl3
         if: matrix.build.name == 'openssl-quic'
         uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
@@ -445,6 +421,30 @@ jobs:
           # /home/runner/quiche/quiche/deps/boringssl/src/lib
         name: 'build quiche and boringssl'
 
+      - name: cache mod_h2
+        uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
+        id: cache-mod_h2
+        env:
+          cache-name: cache-mod_h2
+        with:
+          path: /home/runner/mod_h2
+          key: ${{ runner.os }}-http3-build-${{ env.cache-name }}-${{ env.mod_h2-version }}
+
+      - if: steps.cache-mod_h2.outputs.cache-hit != 'true'
+        run: |
+          cd $HOME
+          git clone --quiet --depth=1 -b v${{ env.mod_h2-version }} https://github.com/icing/mod_h2
+          cd mod_h2
+          autoreconf -fi
+          ./configure
+          make
+        name: 'build mod_h2'
+
+      - run: |
+          cd $HOME/mod_h2
+          sudo make install
+        name: 'install mod_h2'
+
       - uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4
 
       - run: |