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 ee42b21 commit 7e1f181Copy full SHA for 7e1f181
.github/workflows/actions.yml
@@ -11,7 +11,20 @@ jobs:
11
python-version: 3.7
12
- name: Install dependencies
13
run: |
14
- python -m pip install --upgrade pip
+ python -m pip install build --user --upgrade pip
15
pip install pycodestyle
16
- name: Validate PEP8 compliance
17
- run: pycodestyle .
+ run: pycodestyle .
18
+ - name: Build a binary wheel and a source tarball
19
+ run: >-
20
+ python -m
21
+ build
22
+ --sdist
23
+ --wheel
24
+ --outdir dist/
25
+ .
26
+ - name: Publish 📦 to PyPI
27
+ if: startsWith(github.ref, 'refs/tags')
28
+ uses: pypa/gh-action-pypi-publish@master
29
+ with:
30
+ password: ${{ secrets.PYPI_API_TOKEN }}
.github/workflows/publish-to-pypi.yml
0 commit comments