Updates version of flux-sdk (#104) #90
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 | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
pypi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set Package Version | |
run: | | |
pip install poetry | |
poetry version "`poetry version -s`.$GITHUB_RUN_NUMBER" | |
- name: Publish to PyPI (via Poetry) | |
uses: JRubics/[email protected] | |
with: | |
pypi_token: ${{ secrets.PYPI_TOKEN }} | |
# NOTE: un-comment the configuration below to publish to Test PyPI instead | |
# pypi_token: ${{ secrets.TEST_PYPI_TOKEN }} | |
# repository_name: testpypi | |
# repository_url: https://test.pypi.org/legacy/ |