bump version to 1.1.2 #4
Workflow file for this run
This file contains hidden or 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 Artifacts | |
| # TODO: Update this workflow to only run when | |
| # a tag has been created. | |
| on: | |
| push: | |
| tags: | |
| - '\d+\.\d+\.\d+' # Tags like 1.0.0, 1.0.0, etc. | |
| permissions: | |
| id-token: write | |
| contents: read | |
| jobs: | |
| pypi-publish: | |
| name: Upload Release to PyPI | |
| runs-on: ubuntu-latest | |
| # Specifying a GitHub environment is optional, but strongly encouraged | |
| environment: pypi | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install build | |
| - name: Build package | |
| run: | | |
| python -m build | |
| - name: Publish package distributions to PyPI | |
| uses: pypa/gh-action-pypi-publish@release/v1 | |