We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7d24b commit 93ec630Copy full SHA for 93ec630
.github/workflows/deploy.yml
@@ -7,22 +7,22 @@ on:
7
jobs:
8
deploy:
9
runs-on: ubuntu-latest
10
+ permissions:
11
+ id-token: write
12
env:
13
POETRY_VIRTUALENVS_CREATE: "false"
14
steps:
- - uses: actions/checkout@v3
15
+ - uses: actions/checkout@v4
16
17
- name: Install poetry
18
run: |
19
pipx install poetry
- pipx inject poetry poetry-bumpversion
20
+ poetry self add poetry-bumpversion
21
22
- name: Build
23
24
poetry version ${{ github.ref_name }}
25
poetry build
26
- - name: Publish
- run: |
27
- poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
28
- poetry publish
+ - name: Publish package distributions to PyPI
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments