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.
2 parents 32a5a77 + c0884db commit 5d6c8d7Copy full SHA for 5d6c8d7
.github/workflows/publish.yml
@@ -0,0 +1,35 @@
1
+name: Publish Package
2
+
3
+on:
4
+ release:
5
+ types: [published]
6
7
+permissions:
8
+ contents: read
9
10
+jobs:
11
+ publish:
12
+ runs-on: ubuntu-20.04
13
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v3
17
18
+ - name: Set up Python 3.9
19
+ uses: actions/setup-python@v3
20
+ with:
21
+ python-version: "3.9"
22
23
+ - name: Install dependencies
24
+ run: |
25
+ python -m pip install --upgrade pip
26
+ pip install build
27
28
+ - name: Build package
29
+ run: python -m build
30
31
+ - name: Publish to PyPI
32
+ uses: pypa/gh-action-pypi-publish@release/v1
33
34
+ user: __token__
35
+ password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments