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 b1c3591 commit e27d477Copy full SHA for e27d477
‎.github/workflows/pypi.yaml‎
@@ -0,0 +1,26 @@
1
+name: Publish Poetry Package to PyPI
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
12
+ permissions:
13
+ id-token: write
14
15
+ steps:
16
+ - name: Checkout repository
17
+ uses: actions/checkout@v4
18
+ - name: Install Poetry
19
+ uses: packetcoders/action-setup-cache-python-poetry@main
20
+ with:
21
+ python-version: 3.12
22
+ poetry-version: 1.8.3
23
+ - name: Publish to PyPI using OIDC
24
+ run: |
25
+ poetry config pypi-token.pypi ${{ secrets.PYPI_PUBLISH_TOKEN }}
26
+ poetry publish --build
0 commit comments