File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 77 strategy :
88 matrix :
99 python-version :
10- - ' 3.8'
11- - ' 3.9'
1210 - ' 3.10'
1311 - ' 3.11'
1412 - ' 3.12'
2422 python -mpip install build
2523 python -m build
2624 - name : Publish distribution to PyPI
27- if : startsWith(github.ref, 'refs/tags') && startsWith(matrix.python-version, '3.9 ')
28- uses : pypa/gh-action-pypi-publish@v1.13.0
25+ if : startsWith(github.ref, 'refs/tags') && startsWith(matrix.python-version, '3.10 ')
26+ uses : pypa/gh-action-pypi-publish@release/v1
2927 with :
3028 password : ${{ secrets.PYPI_PASSWORD }}
29+ - name : Create a GitHub release
30+ if : startsWith(github.ref, 'refs/tags') && startsWith(matrix.python-version, '3.10')
31+ run : gh release create --generate-notes "${GITHUB_REF#refs/tags/}"
32+ env :
33+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments