Skip to content

Commit

Permalink
ci: limit downloaded files in build_docker (deepmodeling#4242)
Browse files Browse the repository at this point in the history
This download-artifact step fails randomly. Limiting the files to
download should reduce the possibility of failure.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## 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.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz authored Oct 23, 2024
1 parent a74d963 commit 8e77785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8e77785

Please sign in to comment.