File tree Expand file tree Collapse file tree 1 file changed +18
-5
lines changed
Expand file tree Collapse file tree 1 file changed +18
-5
lines changed Original file line number Diff line number Diff line change 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-
153166concurrency :
154167 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref_name }}-mlir-tensorrt-pypi
155168 cancel-in-progress : true
You can’t perform that action at this time.
0 commit comments