We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b682161 + 913a65f commit e67e5a9Copy full SHA for e67e5a9
.github/workflows/release.yml
@@ -8,12 +8,17 @@ jobs:
8
pypi_release:
9
name: Build with Poetry and Publish to PyPI
10
runs-on: ubuntu-latest
11
+ environment:
12
+ name: pypi
13
+ url: https://pypi.org/p/cryptojwt
14
+ permissions:
15
+ id-token: write
16
steps:
17
- uses: actions/checkout@v4
18
- uses: actions/setup-python@v5
19
- name: Install and configure Poetry
- run: |
- pip install poetry
- poetry config pypi-token.pypi "${{ secrets.PYPI_TOKEN }}"
20
+ run: pip install poetry
21
- name: Publish package
- run: poetry publish --build
22
+ run: poetry build
23
+ - name: Publish package distributions to PyPI
24
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments