We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95caea0 commit 62d6ed6Copy full SHA for 62d6ed6
1 file changed
.github/workflows/reusable.yml
@@ -517,7 +517,7 @@ jobs:
517
# For jobs not compatible with ccache, use "ccache: no" in the matrix
518
if [[ "${{ matrix.ccache }}" == "no" ]]; then
519
echo "B2_USE_CCACHE=0" >> "$GITHUB_ENV"
520
- else
+ elif [[ "${B2_USE_CACHE:-1}" != "0" ]]; then
521
# Common prefix w/o C++ std (old key)
522
prefix='${{matrix.os}}-${{matrix.container}}-${{matrix.xcode_app}}${{matrix.compiler}}'
523
echo "legacy-restore-key=${prefix}-" >> "$GITHUB_OUTPUT"
@@ -559,7 +559,7 @@ jobs:
559
if: env.B2_USE_CCACHE
560
with:
561
path: ~/.ccache
562
- key: ${{steps.setup.outputs.key}}
+ key: ${{steps.setup.outputs.key || 'cache-disabled'}}
563
restore-keys: |
564
${{steps.setup.outputs.restore-key}}
565
${{steps.setup.outputs.legacy-restore-key}}
0 commit comments