File tree Expand file tree Collapse file tree 1 file changed +19
-8
lines changed
Expand file tree Collapse file tree 1 file changed +19
-8
lines changed Original file line number Diff line number Diff line change 3939
4040 - uses : actions/upload-artifact@v4
4141 with :
42- name : dist
43- path : dist/
42+ name : dist-version
43+ path : dist/VERSION
4444
4545 build-sdist :
4646 needs : validate-release-request
6767
6868 - uses : actions/upload-artifact@v4
6969 with :
70- name : dist
70+ name : dist-sdist
7171 path : dist/*.tar.*
7272
7373 build-wheels-matrix :
@@ -127,9 +127,17 @@ jobs:
127127
128128 - uses : actions/upload-artifact@v4
129129 with :
130- name : dist
130+ name : dist-wheels
131131 path : wheelhouse/*.whl
132132
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+
133141 publish-docs :
134142 needs : [build-sdist, build-wheels]
135143 runs-on : ubuntu-latest
@@ -180,6 +188,12 @@ jobs:
180188 needs : [build-sdist, build-wheels, publish-docs]
181189 runs-on : ubuntu-latest
182190
191+ environment :
192+ name : pypi
193+ url : https://pypi.org/p/asyncpg
194+ permissions :
195+ id-token : write
196+
183197 steps :
184198 - uses : actions/checkout@v4
185199 with :
@@ -223,7 +237,4 @@ jobs:
223237 - name : Upload to PyPI
224238 uses : pypa/gh-action-pypi-publish@release/v1
225239 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