File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build and publish distributions to PyPI
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build-and-publish :
9+ name : Build and publish distributions to PyPI
10+ runs-on : ubuntu-18.04
11+ steps :
12+ - uses : actions/checkout@master
13+
14+ - name : Set up Python 3.7
15+ uses : actions/setup-python@v1
16+ with :
17+ python-version : 3.7
18+
19+ - name : Install pypa/build
20+ run : >-
21+ python -m
22+ pip install
23+ build
24+ --user
25+
26+ - name : Build a binary wheel and a source tarball
27+ run : >-
28+ python -m
29+ build
30+ --sdist
31+ --wheel
32+ --outdir dist/
33+
34+ - name : Publish distribution to PyPI
35+ uses : pypa/gh-action-pypi-publish@master
36+ with :
37+ password : ${{ secrets.PYPI_API_TOKEN }}
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [
3+ " setuptools>=42" ,
4+ " wheel"
5+ ]
6+ build-backend = " setuptools.build_meta"
You can’t perform that action at this time.
0 commit comments