File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 4040 needs : [compile, test]
4141 if : github.event_name == 'push' && contains(github.ref, 'refs/tags/')
4242 runs-on : ubuntu-latest
43+ permissions :
44+ id-token : write
4345 steps :
4446 - name : Checkout repo
4547 uses : actions/checkout@v4
5254 curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
5355 - name : Install dependencies
5456 run : poetry install
55- - name : Publish to pypi
56- env :
57- PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
58- run : |
59- poetry config repositories.remote https://upload.pypi.org/legacy/
60- poetry config pypi-token.pypi ${PYPI_TOKEN}
61- poetry --no-interaction -v publish --build --repository remote
57+ - name : Build package
58+ run : poetry --no-interaction -v build
59+ - name : Publish package
60+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments