We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 292ecd3 commit ad505c8Copy full SHA for ad505c8
.github/workflows/publish.yml
@@ -0,0 +1,35 @@
1
+name: Publish
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - '**'
7
+ workflow_dispatch: ~
8
9
+jobs:
10
+ release:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - name: Set up Python
17
+ uses: actions/setup-python@v3
18
+ with:
19
+ python-version: 3.11
20
21
+ - name: Install Poetry and Twine
22
+ run: |
23
+ pip install poetry twine
24
25
+ - name: Install dependencies
26
+ run: poetry install
27
28
+ - name: Build wheel
29
+ run: poetry build
30
31
+ - name: upload to pypi
32
+ run: twine upload dist/*
33
+ env:
34
+ TWINE_USERNAME: __token__
35
+ TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments