Skip to content

Commit 707e39c

Browse files
committed
Merge pull request #104316 from Repiteo/ci/safety-check
CI: Ensure `scons-cache` exists before parsing
2 parents fc827bb + 6c19c0b commit 707e39c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/godot-cache-restore/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ runs:
2222
- name: Log default cache files
2323
if: github.ref_name != github.event.repository.default_branch
2424
shell: sh
25-
run: find "${{ inputs.scons-cache }}" >> redundant.txt
25+
run: test -d "${{ inputs.scons-cache }}" && find "${{ inputs.scons-cache }}" >> redundant.txt
2626

2727
# This is done after pulling the default cache so that PRs can integrate any potential changes
2828
# from the default branch without conflicting with whatever local changes were already made.

0 commit comments

Comments
 (0)