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 0ba650b commit 1e888baCopy full SHA for 1e888ba
.github/workflows/publish_on_pypi.yml
@@ -10,7 +10,7 @@ jobs:
10
runs-on: ubuntu-latest
11
strategy:
12
matrix:
13
- python: [2.7, 3.9]
+ python: [3.9, 2.7]
14
15
steps:
16
- uses: actions/checkout@v2
@@ -20,13 +20,16 @@ jobs:
20
with:
21
python-version: ${{ matrix.python }}
22
23
- - name: Build wheel and source tarball
+ - name: Build source tarball
24
+ if: matrix.python == 3.9
25
+ run: python setup.py sdist
26
+
27
+ - name: Build wheel
28
run: |
29
pip install wheel
- python setup.py sdist bdist_wheel
30
+ python setup.py bdist_wheel
31
- - name: Publish a Python distribution to PyPI
- if: matrix.python == 3.9
32
+ - name: Publish distribution to PyPI
33
uses: pypa/gh-action-pypi-publish@release/v1
34
35
user: __token__
0 commit comments