File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 8989
9090 - name : Upload SDist
9191 # Not PR to save artifact storage, as SDist is only needed for releases.
92- if : github.event_name != 'pull_request'
92+ if : github.event_name != 'pull_request' || contains(github.event.pull_request.title, '[Release]')
9393 uses : actions/upload-artifact@v4
9494 with :
9595 name : sdist
@@ -157,7 +157,7 @@ jobs:
157157
158158 - name : Upload wheels
159159 # Not PR to save artifact storage, as wheels are only needed for releases.
160- if : github.event_name != 'pull_request'
160+ if : github.event_name != 'pull_request' || contains(github.event.pull_request.title, '[Release]')
161161 uses : actions/upload-artifact@v5
162162 with :
163163 name : wheels-${{ matrix.python-version }}-${{ runner.os }}-${{ runner.arch }}-${{ matrix.target.toolkit }}
@@ -167,7 +167,7 @@ jobs:
167167 list-artifacts :
168168 name : List artifacts
169169 # Not PR to save artifact storage, as artifacts are only needed for releases.
170- if : github.event_name != 'pull_request'
170+ if : github.event_name != 'pull_request' || contains(github.event.pull_request.title, '[Release]')
171171 runs-on : ubuntu-latest
172172 needs : [build-sdist, build-wheels]
173173 timeout-minutes : 15
You can’t perform that action at this time.
0 commit comments