Commit f476c03 1 parent 7ee30e9 commit f476c03 Copy full SHA for f476c03
File tree 1 file changed +20
-8
lines changed
1 file changed +20
-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,18 @@ 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
+ with :
140
+ name : dist
141
+
133
142
publish-docs :
134
143
needs : [build-sdist, build-wheels]
135
144
runs-on : ubuntu-latest
@@ -180,6 +189,12 @@ jobs:
180
189
needs : [build-sdist, build-wheels, publish-docs]
181
190
runs-on : ubuntu-latest
182
191
192
+ environment :
193
+ name : pypi
194
+ url : https://pypi.org/p/asyncpg
195
+ permissions :
196
+ id-token : write
197
+
183
198
steps :
184
199
- uses : actions/checkout@v4
185
200
with :
@@ -223,7 +238,4 @@ jobs:
223
238
- name : Upload to PyPI
224
239
uses : pypa/gh-action-pypi-publish@release/v1
225
240
with :
226
- user : __token__
227
- password : ${{ secrets.PYPI_TOKEN }}
228
- # password: ${{ secrets.TEST_PYPI_TOKEN }}
229
- # repository_url: https://test.pypi.org/legacy/
241
+ attestations : true
You can’t perform that action at this time.
0 commit comments