File tree Expand file tree Collapse file tree 3 files changed +31
-19
lines changed Expand file tree Collapse file tree 3 files changed +31
-19
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish to PyPI
2
+ on :
3
+ release :
4
+ types : [published]
5
+
6
+ jobs :
7
+ publish :
8
+ name : Release build and publish
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Check out code
12
+ uses : actions/checkout@v4
13
+
14
+ - name : Set up Python
15
+ uses : actions/setup-python@v5
16
+ with :
17
+ python-version : ' 3.8'
18
+
19
+ - name : Build package
20
+ run : |
21
+ python -m pip install setuptools wheel build
22
+ python setup.py sdist bdist_wheel
23
+
24
+ - name : Publish package
25
+ run : |
26
+ python -m pip install twine
27
+ python -m twine upload -r pypi dist/*
28
+ env :
29
+ TWINE_USERNAME : __token__
30
+ TWINE_PASSWORD : ${{ secrets.PYPI_TOKEN }}
31
+ TWINE_NON_INTERACTIVE : true
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,4 +13,3 @@ class Name(Enum):
13
13
V1_BUILDS = "v1-builds"
14
14
V1_MESSAGING = "v1-messaging"
15
15
V1_MIGRATIONS = "v1-migrations"
16
- HAMSTERV1 = "hamsterv1"
You can’t perform that action at this time.
0 commit comments