Skip to content

Commit 52b91f1

Browse files
committed
Merge branch 'whaileee/workflows/maint-28/conditional-sbom-cache' into maint-28
* whaileee/workflows/maint-28/conditional-sbom-cache: Skip cache restoration for SBOM when FULL_BUILD_AND_CHECK
2 parents ab489c0 + 2ba9b55 commit 52b91f1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -792,6 +792,7 @@ jobs:
792792
- name: Restore ORT Scanner cache
793793
uses: actions/cache/restore@5a3ec84eff668545956fd18022155c47e93e2684 # ratchet:actions/cache/restore@v4
794794
id: ort-cache
795+
if: ${{ env.FULL_BUILD_AND_CHECK == 'false' }}
795796
with:
796797
path: ${{ env.SCAN_RESULT_CACHE_PATH }}
797798
key: ort-scan-result-${{ env.ORT_VERSION }}-${{ github.ref_name }}-${{ github.sha }}

0 commit comments

Comments
 (0)