55
55
fi
56
56
57
57
- name : Upload wheels
58
- uses : actions/upload-artifact@v3
58
+ uses : actions/upload-artifact@v4
59
59
with :
60
60
name : wheels
61
61
path : dist
80
80
args : --release --out dist --find-interpreter
81
81
sccache : ' true'
82
82
- name : Upload wheels
83
- uses : actions/upload-artifact@v3
83
+ uses : actions/upload-artifact@v4
84
84
with :
85
85
name : wheels
86
86
path : dist
@@ -101,7 +101,7 @@ jobs:
101
101
args : --release --out dist --find-interpreter
102
102
sccache : ' true'
103
103
- name : Upload wheels
104
- uses : actions/upload-artifact@v3
104
+ uses : actions/upload-artifact@v4
105
105
with :
106
106
name : wheels
107
107
path : dist
@@ -122,7 +122,7 @@ jobs:
122
122
args : --release --out dist --find-interpreter
123
123
sccache : ' true'
124
124
- name : Upload wheels
125
- uses : actions/upload-artifact@v3
125
+ uses : actions/upload-artifact@v4
126
126
with :
127
127
name : wheels
128
128
path : dist
@@ -137,7 +137,7 @@ jobs:
137
137
command : sdist
138
138
args : --out dist
139
139
- name : Upload sdist
140
- uses : actions/upload-artifact@v3
140
+ uses : actions/upload-artifact@v4
141
141
with :
142
142
name : wheels
143
143
path : dist
@@ -146,10 +146,10 @@ jobs:
146
146
name : Release
147
147
runs-on : ubuntu-latest
148
148
environment : Publish
149
- if : " startsWith(github.ref, 'refs/tags/')"
149
+ if : " github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' "
150
150
needs : [linux, windows, macos_x86, macos_aarch64, sdist]
151
151
steps :
152
- - uses : actions/download-artifact@v3
152
+ - uses : actions/download-artifact@v4
153
153
with :
154
154
name : wheels
155
155
- name : Publish to PyPI
0 commit comments