File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed
Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change 88 publish-service-client-package :
99 runs-on : ubuntu-latest
1010 permissions :
11- contents : write
11+ contents : read
1212 steps :
13- - name : Publish PyPi package
14- uses : code-specialist/pypi-poetry-publish@v1
13+ - name : Checkout repository
14+ uses : actions/checkout@v4
15+
16+ - name : Set up Python
17+ uses : actions/setup-python@v5
1518 with :
16- ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
17- PUBLISH_REGISTRY_PASSWORD : ${{ secrets.PYPI_TOKEN }}
18- BRANCH : " main"
19- POETRY_VERSION : " 1.7.1"
20- POETRY_CORE_VERSION : " 1.8.1"
19+ python-version : " 3.12"
20+
21+ - name : Install Poetry
22+ run : pip install poetry==1.7.1 poetry-core==1.8.1
23+
24+ - name : Build package
25+ run : poetry build
26+
27+ - name : Publish to PyPI
28+ run : poetry publish --username __token__ --password ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments