Explorar el Código

ci: re-enable ccache download/upload behind use_cache

if:false blocked OnePlus proven ccache flow; wire to inputs.use_cache (default true) as in 9fc52848
TheWildJames hace 1 semana
padre
commit
40d76b5bf5
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      .github/workflows/main.yml

+ 2 - 2
.github/workflows/main.yml

@@ -110,7 +110,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Download custom ccache once
-        if: false
+        if: inputs.use_cache
         run: |
           set -uo pipefail
           echo "::group::Download ccache"
@@ -131,7 +131,7 @@ jobs:
           fi
           echo "::endgroup::"
       - name: Upload ccache artifact
-        if: false
+        if: inputs.use_cache
         uses: actions/upload-artifact@v7
         with:
           name: ccache-binary