Skip to content

Commit b35918a

Browse files
authored
Make package build use python 3.7
1 parent c5be8d9 commit b35918a

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/tests.yml

+15-11
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,18 @@ jobs:
6161
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
6262
runs-on: ubuntu-latest
6363
steps:
64-
- name: Checkout source
65-
uses: actions/checkout@v2
66-
- name: Build package
67-
run: |
68-
pip install wheel
69-
python setup.py sdist bdist_wheel
70-
- name: Publish
71-
uses: pypa/gh-action-pypi-publish@v1.1.0
72-
with:
73-
user: __token__
74-
password: ${{ secrets.PYPI_KEY }}
64+
- name: Checkout source
65+
uses: actions/checkout@v2
66+
- name: Set up Python 3.7
67+
uses: actions/setup-python@v1
68+
with:
69+
python-version: 3.7
70+
- name: Build package
71+
run: |
72+
pip install wheel
73+
python setup.py sdist bdist_wheel
74+
- name: Publish
75+
uses: pypa/gh-action-pypi-publish@v1.1.0
76+
with:
77+
user: __token__
78+
password: ${{ secrets.PYPI_KEY }}

0 commit comments

Comments
 (0)