From 6c19c0bec536a47d81d84ade65698eb9e468710d Mon Sep 17 00:00:00 2001 From: Thaddeus Crews Date: Tue, 18 Mar 2025 08:44:13 -0500 Subject: [PATCH] CI: Ensure `.scons-cache` exists before parsing --- .github/actions/godot-cache-restore/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/godot-cache-restore/action.yml b/.github/actions/godot-cache-restore/action.yml index 335965f931f..975decb6f81 100644 --- a/.github/actions/godot-cache-restore/action.yml +++ b/.github/actions/godot-cache-restore/action.yml @@ -22,7 +22,7 @@ runs: - name: Log default cache files if: github.ref_name != github.event.repository.default_branch shell: sh - run: find "${{ inputs.scons-cache }}" >> redundant.txt + run: test -d "${{ inputs.scons-cache }}" && find "${{ inputs.scons-cache }}" >> redundant.txt # This is done after pulling the default cache so that PRs can integrate any potential changes # from the default branch without conflicting with whatever local changes were already made.