]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
GHA/http3-linux: add missing step conditions
authorViktor Szakats <commit@vsz.me>
Fri, 27 Mar 2026 10:39:24 +0000 (11:39 +0100)
committerViktor Szakats <commit@vsz.me>
Fri, 27 Mar 2026 10:53:57 +0000 (11:53 +0100)
To omit unused cache restores. Saving ~7 seconds in jobs not using them.

Closes #21120

.github/workflows/http3-linux.yml

index 5995394e202891b0f8819f95d8d40630274454ae..81c38ef4e4c226f5709a3106346a9245f5221771 100644 (file)
@@ -510,6 +510,7 @@ jobs:
           fail-on-cache-miss: true
 
       - name: 'cache libressl'
+        if: ${{ contains(matrix.build.name, 'libressl') }}
         uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
         id: cache-libressl
         env:
@@ -520,6 +521,7 @@ jobs:
           fail-on-cache-miss: true
 
       - name: 'cache awslc'
+        if: ${{ contains(matrix.build.name, 'awslc') }}
         uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
         id: cache-awslc
         env:
@@ -530,6 +532,7 @@ jobs:
           fail-on-cache-miss: true
 
       - name: 'cache boringssl'
+        if: ${{ contains(matrix.build.name, 'boringssl') }}
         uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
         id: cache-boringssl
         env:
@@ -594,6 +597,7 @@ jobs:
           fail-on-cache-miss: true
 
       - name: 'cache ngtcp2 boringssl'
+        if: ${{ contains(matrix.build.name, 'boringssl') }}
         uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
         id: cache-ngtcp2-boringssl
         env: