File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -233,8 +233,18 @@ jobs:
233233 PLAT_ARG : ${{ contains(inputs.os, 'ubuntu') && '--plat-name manylinux2014_x86_64' || '' }}
234234
235235 - run : du -h dist/*
236- - uses : actions/upload-artifact@v4
236+
237+ - name : Upload artifact (local build)
238+ if : ${{ inputs.append_local_version != '0' }}
239+ uses : actions/upload-artifact@v4
237240 with :
238241 name : ${{ inputs.os }}-py${{ inputs.python }}-torch${{ inputs.torch_version }}+cu${{ inputs.cuda_short_version }}
239242 path : dist/*.whl
243+
244+ - name : Upload artifact (pypi build)
245+ if : ${{ inputs.append_local_version == '0' }}
246+ uses : actions/upload-artifact@v4
247+ with :
248+ name : ${{ inputs.os }}-py${{ inputs.python }}
249+ path : dist/*.whl
240250# Note: it might be helpful to have additional steps that test if the built wheels actually work
You can’t perform that action at this time.
0 commit comments