ci: try to fix gpg error during kernel build (#12928)

This commit is contained in:
ishandhanani
2025-11-09 11:45:29 -08:00
committed by GitHub
parent 4e916f9840
commit 885cfca273
2 changed files with 6 additions and 2 deletions

View File

@@ -110,7 +110,11 @@ jobs:
steps:
- name: Cleanup
run: |
sudo rm -rf $GITHUB_WORKSPACE/* || true
if [ -d "$GITHUB_WORKSPACE" ]; then
sudo rm -rf "$GITHUB_WORKSPACE"/* || true
else
echo "$GITHUB_WORKSPACE does not exist, nothing to clean"
fi
- uses: actions/checkout@v4
with: