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 06cfb87 commit 34140c2Copy full SHA for 34140c2
.github/workflows/release.yml
@@ -0,0 +1,34 @@
1
+name: Release New PyPi Version
2
+
3
+on:
4
+ workflow_dispatch: # This event allows manual triggering
5
6
+jobs:
7
+ release:
8
+ runs-on: ubuntu-latest
9
10
+ steps:
11
+ - name: Checkout Repository
12
+ uses: actions/checkout@v5
13
14
+ - name: Setup Python
15
+ uses: actions/setup-python@v6
16
+ with:
17
+ python-version: 3.11.x
18
19
+ - name: Poetry cache
20
+ uses: actions/cache@v4
21
22
+ path: ~/.cache/pypoetry
23
+ key: poetry-cache
24
25
+ - name: Install Poetry
26
+ uses: snok/install-poetry@v1
27
28
+ - name: Install dependencies
29
+ run: poetry install --all-extras
30
31
+ - name: Upload to PyPI
32
+ env:
33
+ PYPI_ORG_TOKEN: ${{ secrets.PYPI_ORG_TOKEN }}
34
+ run: poetry publish --build -u __token__ -p $PYPI_ORG_TOKEN
0 commit comments