File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7070 && !contains(github.event.head_commit.message, '[skip ci]')
7171 && !contains(github.event.head_commit.message, '[no release]')
7272 runs-on : ubuntu-latest
73+ # https://github.com/pypa/gh-action-pypi-publish/tree/release/v1/?tab=readme-ov-file#trusted-publishing
74+ permissions :
75+ id-token : write
76+ environment :
77+ name : pypi
78+ url : https://pypi.org/p/galgebra
7379 steps :
7480 - name : Check out code
7581 uses : actions/checkout@v3
7985 python-version : " 3.11"
8086 - name : Install wheel
8187 run : |
82- python -m pip install wheel
83- - name : Build and upload package
84- if : success()
85- env :
86- TWINE_USERNAME : __token__
87- TWINE_PASSWORD : ${{ secrets.PYPI_API_TOKEN }}
88+ python -m pip install wheel packaging
89+ - name : Build a binary wheel
8890 run : |
8991 python setup.py sdist bdist_wheel
90- twine upload dist/*
92+ - name : Publish package distributions to PyPI
93+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change 55# 1) we don't load dependencies by storing it in __init__.py
66# 2) we can import it in setup.py for the same reason
77# 3) we can import it into your module
8- __version__ = '0.5.0 '
8+ __version__ = '0.5.1 '
You can’t perform that action at this time.
0 commit comments