File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 55 branches :
66 - " pull-request/[0-9]+"
77 workflow_dispatch :
8-
9- env :
10- DEFAULT_IMAGE : ghcr.io/nvidia/tensorrt-incubator/mlir-tensorrt:cuda13.0-rockylinux8-0.1
11- REGISTRY : ghcr.io
8+ inputs :
9+ confirm_publish_to_pypi :
10+ description : ' I confirm that I have verified version to be published to pypi.org'
11+ required : true
12+ type : boolean
13+ default : false
1214
1315defaults :
1416 run :
@@ -162,11 +164,13 @@ jobs:
162164 uses : pypa/gh-action-pypi-publish@release/v1
163165 with :
164166 packages-dir : dist-collect
167+ skip_existing : true
165168 repository-url : https://test.pypi.org/legacy
166169 verbose : true
167170
168171 pypi-release-wheels-publish :
169172 name : Publish to PyPI
173+ if : ${{ inputs.confirm_publish_to_pypi }}
170174 needs : [pypi-release-wheels-build]
171175 runs-on : ubuntu-latest
172176 permissions :
@@ -185,6 +189,7 @@ jobs:
185189 uses : pypa/gh-action-pypi-publish@release/v1
186190 with :
187191 verbose : true
192+ skip_existing : true
188193 packages-dir : dist-collect
189194 user : __token__
190195 password : ${{ secrets.PYPI_API_TOKEN }}
You can’t perform that action at this time.
0 commit comments