File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change 99jobs :
1010 release :
1111 runs-on : ubuntu-latest
12- environment : release
12+ concurrency : release
13+ permissions :
14+ id-token : write
15+
1316 steps :
1417 - uses : actions/checkout@v3
1518 with :
1619 fetch-depth : 0
1720 - name : Python Semantic Release
21+ id : release
1822 # https://github.com/relekang/python-semantic-release/releases
19- uses : relekang/python-semantic-release@v7.32.2
23+ uses : relekang/python-semantic-release@v8.0.7
2024 with :
2125 github_token : ${{ secrets.GITHUB_TOKEN }}
26+
27+ - name : Publish package distributions to PyPI
28+ uses : pypa/gh-action-pypi-publish@release/v1
29+ # NOTE: DO NOT wrap the conditional in ${{ }} as it will always evaluate to true.
30+ # See https://github.com/actions/runner/issues/1173
31+ if : steps.release.outputs.released == 'true'
32+ with :
2233 pypi_token : ${{ secrets.PYPI_TOKEN }}
34+
35+ - name : Publish package distributions to GitHub Releases
36+ uses : python-semantic-release/upload-to-gh-release@main
37+ if : steps.release.outputs.released == 'true'
38+ with :
39+ github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments