Skip to content

Commit 1def17e

Browse files
committed
add twine check
1 parent 0a2ff31 commit 1def17e

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/actions/build/action.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ runs:
4444
$CHOWN -R $(whoami) ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
4545
ls -lahR ${{ env.CUDA_CORE_ARTIFACTS_DIR }}
4646
47+
- name: Check cuda.core wheel
48+
shell: bash --noprofile --norc -xeuo pipefail {0}
49+
run: |
50+
pip install twine
51+
twine check ${{ env.CUDA_CORE_ARTIFACTS_DIR }}/*.whl
52+
4753
- name: Upload cuda.core build artifacts
4854
uses: actions/upload-artifact@v4
4955
with:
@@ -82,6 +88,11 @@ runs:
8288
$CHOWN -R $(whoami) ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
8389
ls -lahR ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}
8490
91+
- name: Check cuda.bindings wheel
92+
shell: bash --noprofile --norc -xeuo pipefail {0}
93+
run: |
94+
twine check ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl
95+
8596
- name: Upload cuda.bindings build artifacts
8697
uses: actions/upload-artifact@v4
8798
with:

0 commit comments

Comments
 (0)