Merge pull request #121 from google-research/siriuz42-patch-1

Update main.yml
This commit is contained in:
Rajat Sen
2024-08-07 09:22:01 -07:00
committed by GitHub
+3 -2
View File
@@ -21,10 +21,11 @@ jobs:
python -m pip install --upgrade pip
pip install poetry
# use the hardcoded version number for now. if this is merged to the main repo, you can uncomment these lines to automatically tag the version number with the github run number
# e.g. poetry version 0.1.${{ github.run_number }}
- name: Set Version number
run: |
poetry version 0.1.${{ github.run_number }}
poetry version 1.1.0
- name: Build and Publish to PyPI
run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
poetry publish --build
poetry publish --build