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.
ci-skip-cache
1 parent 4a3b2fb commit da02e01Copy full SHA for da02e01
.github/workflows/build.yml
@@ -882,6 +882,12 @@ jobs:
882
dependency_cache_key: ${{ needs.job_build.outputs.dependency_cache_key }}
883
- name: NX cache
884
uses: actions/cache/restore@v4
885
+ # Disable cache when:
886
+ # - on release branches
887
+ # - when PR has `ci-skip-cache` label or on nightly builds
888
+ if: |
889
+ needs.job_get_metadata.outputs.is_release == 'false' &&
890
+ needs.job_get_metadata.outputs.force_skip_cache == 'false'
891
with:
892
path: .nxcache
893
key: nx-Linux-${{ github.ref }}-${{ env.HEAD_COMMIT }}
0 commit comments