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:

View File

@@ -142,7 +142,7 @@ docker run --rm \
ccache -sV || true
echo \"\"
yum install numactl-devel -y && \
yum install numactl-devel -y --nogpgcheck && \
yum install libibverbs -y --nogpgcheck && \
ln -sv /usr/lib64/libibverbs.so.1 /usr/lib64/libibverbs.so && \
${PYTHON_ROOT_PATH}/bin/${TORCH_INSTALL} && \