From 8e777859c7f17e8812e4ed25237ca6b4f7cc04a3 Mon Sep 17 00:00:00 2001 From: Jinzhe Zeng Date: Wed, 23 Oct 2024 10:12:56 -0400 Subject: [PATCH] ci: limit downloaded files in build_docker (#4242) This download-artifact step fails randomly. Limiting the files to download should reduce the possibility of failure. ## Summary by CodeRabbit - **New Features** - Enhanced artifact downloading patterns for improved specificity in the build process. - Expanded artifact access during the PyPI index build. - **Improvements** - Maintained job structure and dependencies for consistent build and deployment processes. - Defined permissions for critical jobs to ensure secure operations. Signed-off-by: Jinzhe Zeng --- .github/workflows/build_wheel.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index c4d2ed3486..db5745e241 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -148,6 +148,7 @@ jobs: - uses: actions/download-artifact@v4 with: path: source/install/docker/dist + pattern: cibw-*-manylinux_x86_64-cu${{ matrix.cuda_version }}* merge-multiple: true - name: Log in to the Container registry uses: docker/login-action@v3 @@ -180,6 +181,7 @@ jobs: - uses: actions/download-artifact@v4 with: path: dist/packages + pattern: cibw-* merge-multiple: true - uses: actions/setup-python@v5 name: Install Python