Merge pull request #153 from Colin-b/develop #25
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.12' | |
- name: Create packages | |
run: | | |
python -m pip install build | |
python -m build . | |
- name: Publish packages | |
run: | | |
python -m pip install twine | |
python -m twine upload dist/* --skip-existing --username __token__ --password ${{ secrets.pypi_password }} |