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 d29d1d2 commit ce45d70Copy full SHA for ce45d70
.github/workflows/workflow.yml
@@ -0,0 +1,34 @@
1
+name: Publish to PyPI
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+permissions:
8
+ id-token: write
9
+ contents: read
10
11
+jobs:
12
+ deploy:
13
+ name: Deploy to PyPI
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - name: Checkout repository
18
+ uses: actions/checkout@v4
19
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v4
22
+ with:
23
+ python-version: "3.x"
24
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install build
29
30
+ - name: Build package
31
+ run: python -m build
32
33
+ - name: Publish package to PyPI
34
+ uses: pypa/gh-action-pypi-publish@release/v1
0 commit comments