File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 88
99jobs :
1010 build-and-publish :
11- runs-on : ubuntu-20.04
11+ runs-on : ubuntu-24.04
12+ environment : release
13+ permissions :
14+ id-token : write
1215 steps :
13- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1417 - name : Install Poetry
1518 run : pipx install poetry
1619 - name : Set up Python
17- uses : actions/setup-python@v4
20+ uses : actions/setup-python@v5
1821 with :
1922 python-version : 3.12
2023 - name : Verify versioning
2629 run : poetry run pytest
2730 - name : Build packages
2831 run : poetry build
29- - name : Configure Poetry
30- run : |
31- poetry config repositories.testpypi https://test.pypi.org/legacy/
32- poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_TOKEN }}
33- poetry config pypi-token.pypi "${{ secrets.PYPI_API_TOKEN }}"
3432 - name : Publish to test PyPI
3533 if : ${{ github.event_name == 'push' }}
3634 run : poetry publish -r testpypi
You can’t perform that action at this time.
0 commit comments