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 d3a10f4 commit a26872eCopy full SHA for a26872e
.github/workflows/release.yml
@@ -0,0 +1,24 @@
1
+name: Upload Python Package
2
+
3
+on:
4
+ release:
5
+ types: [created]
6
7
+jobs:
8
+ deploy:
9
+ runs-on: ubuntu-latest
10
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - uses: actions/setup-python@v3
14
+ - name: Install dependencies
15
+ run: |
16
+ python -m pip install --upgrade pip
17
+ pip install setuptools wheel twine
18
+ - name: Build and publish
19
+ env:
20
+ TWINE_USERNAME: __token__
21
+ TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
22
23
+ python setup.py sdist bdist_wheel
24
+ twine upload dist/*
.gitignore
@@ -8,6 +8,6 @@ venv/
*/__pycache__/
# PyPI integration file
-.pypirc
-build
+./build
+./dist
*.egg-info
0 commit comments