Skip to content

Commit 80489c2

Browse files
committed
test
1 parent 9a8b0e9 commit 80489c2

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

.github/workflows/mlir-tensorrt-pypi.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ jobs:
4242
packages: write
4343
contents: read
4444
strategy:
45-
fail-fast: true
46-
max-parallel: 1
4745
matrix: ${{ fromJSON(needs.generate-matrix.outputs.matrix) }}
4846
runs-on: ${{ matrix.github_runner }}
4947
env:
@@ -141,15 +139,30 @@ jobs:
141139
path: mlir-tensorrt/dist
142140
if-no-files-found: error
143141

144-
- name: Upload wheels to test PyPI
142+
pypi-release-wheels-publish:
143+
name: Publish to TestPyPI
144+
needs: [pypi-release-wheels-build]
145+
runs-on: ubuntu-latest
146+
permissions:
147+
id-token: write
148+
packages: write
149+
contents: read
150+
steps:
151+
- name: Download built wheels
152+
uses: actions/download-artifact@v4
153+
with:
154+
pattern: release-wheels-*
155+
merge-multiple: true
156+
path: dist-collect
157+
158+
- name: Publish to TestPyPI
145159
uses: pypa/gh-action-pypi-publish@release/v1
146160
with:
147-
packages-dir: mlir-tensorrt/dist
161+
packages-dir: dist-collect
148162
repository-url: https://test.pypi.org/legacy/
149163
user: __token__
150164
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
151165

152-
153166
concurrency:
154167
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-mlir-tensorrt-pypi
155168
cancel-in-progress: true

0 commit comments

Comments
 (0)