Merge pull request #4 from MemberWave/dev #8
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: Publish MustOpt to PyPi | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish: | |
name: Publish MustOpt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.7' | |
- name: Install hatch | |
# language=bash | |
run: pipx install hatch | |
- name: Build | |
# language=bash | |
run: hatch build | |
- name: Publish to PyPi | |
# language=bash | |
run: hatch publish | |
env: | |
HATCH_INDEX_USER: __token__ | |
HATCH_INDEX_AUTH: ${{ secrets.PYPI_PUBLISHING_TOKEN }} |