Commit ed20321 1 parent 7ee30e9 commit ed20321 Copy full SHA for ed20321
File tree 1 file changed +19
-8
lines changed
1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 39
39
40
40
- uses : actions/upload-artifact@v4
41
41
with :
42
- name : dist
43
- path : dist/
42
+ name : dist-version
43
+ path : dist/VERSION
44
44
45
45
build-sdist :
46
46
needs : validate-release-request
67
67
68
68
- uses : actions/upload-artifact@v4
69
69
with :
70
- name : dist
70
+ name : dist-sdist
71
71
path : dist/*.tar.*
72
72
73
73
build-wheels-matrix :
@@ -127,9 +127,17 @@ jobs:
127
127
128
128
- uses : actions/upload-artifact@v4
129
129
with :
130
- name : dist
130
+ name : dist-wheels
131
131
path : wheelhouse/*.whl
132
132
133
+ merge-artifacts :
134
+ runs-on : ubuntu-latest
135
+ needs : [build-sdist, build-wheels]
136
+ steps :
137
+ - name : Merge Artifacts
138
+ uses : actions/upload-artifact/merge@v4
139
+ name : dist
140
+
133
141
publish-docs :
134
142
needs : [build-sdist, build-wheels]
135
143
runs-on : ubuntu-latest
@@ -180,6 +188,12 @@ jobs:
180
188
needs : [build-sdist, build-wheels, publish-docs]
181
189
runs-on : ubuntu-latest
182
190
191
+ environment :
192
+ name : pypi
193
+ url : https://pypi.org/p/asyncpg
194
+ permissions :
195
+ id-token : write
196
+
183
197
steps :
184
198
- uses : actions/checkout@v4
185
199
with :
@@ -223,7 +237,4 @@ jobs:
223
237
- name : Upload to PyPI
224
238
uses : pypa/gh-action-pypi-publish@release/v1
225
239
with :
226
- user : __token__
227
- password : ${{ secrets.PYPI_TOKEN }}
228
- # password: ${{ secrets.TEST_PYPI_TOKEN }}
229
- # repository_url: https://test.pypi.org/legacy/
240
+ attestations : true
You can’t perform that action at this time.
0 commit comments