File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : pypi-publish
2
+ on :
3
+ release :
4
+ types : [created]
5
+
6
+ jobs :
7
+ release :
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v2
11
+ # https://github.com/actions/setup-python
12
+ - name : Set up Python
13
+ uses : actions/setup-python@v1
14
+ with :
15
+ python-version : ' 3.x'
16
+ - name : Install dependencies
17
+ run : |
18
+ pip install -r requirements.txt -r requirements-dev.txt
19
+ pip install .
20
+ pip install setuptools wheel twine
21
+ - uses : rkdarst/action-verify-python-version@main
22
+ - name : Build
23
+ run : |
24
+ python setup.py sdist bdist_wheel
25
+ # - name: Upload to PyPI
26
+ # env:
27
+ # TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
28
+ # TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
29
+ # run: |
30
+ # twine upload dist/*
You can’t perform that action at this time.
0 commit comments