File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ name: Release
33on :
44 release :
55 types : [published]
6+ workflow_dispatch :
67
78jobs :
89 build_wheel_and_sdist :
@@ -28,18 +29,25 @@ jobs:
2829 upload_pypi :
2930 needs : build_wheel_and_sdist
3031 runs-on : ubuntu-latest
32+ environment :
33+ name : pypi
34+ url : https://pypi.org/p/python-binexport
35+ permissions :
36+ id-token : write
3137 steps :
3238 - uses : actions/download-artifact@v8
3339 with :
3440 # unpacks default artifact into dist/
3541 # if `name: artifact` is omitted, the action will create extra parent dir
36- name : artifact
42+ pattern : artifact_*
43+ merge-multiple : true
3744 path : dist
3845
3946 - name : Publish a Python distribution to PyPI
40- uses : pypa/gh-action-pypi-publish@v1.14.0
47+ uses : pypa/gh-action-pypi-publish@release/v1
4148 with :
42- password : ${{ secrets.PYPI_DEPLOY_TOKEN }}
49+ packages-dir : ./dist/
50+ attestations : true
4351
4452 - name : Upload Python packages for release notes
4553 uses : softprops/action-gh-release@v3.0.0
You can’t perform that action at this time.
0 commit comments