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
+2 -1
View File
@@ -21,9 +21,10 @@ jobs:
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install poetry 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 # 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 - name: Set Version number
run: | run: |
poetry version 0.1.${{ github.run_number }} poetry version 1.1.0
- name: Build and Publish to PyPI - name: Build and Publish to PyPI
run: | run: |
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }} poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}