Skip to content

Commit 2da08dd

Browse files
authored
Make package build use python 3.7
1 parent e681aa5 commit 2da08dd

1 file changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/tests.yml

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

0 commit comments

Comments
 (0)