Skip to content

Commit 96417ae

Browse files
author
Matthias Koeppe
committed
Fixup pythonpublish.yml
1 parent 400b04f commit 96417ae

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/pythonpublish.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,23 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v1
12-
- name: Set up Python
13-
uses: actions/setup-python@v1
12+
- uses: goanpeca/setup-miniconda@v1
1413
with:
15-
python-version: '3.x'
14+
auto-update-conda: true
15+
activate-environment: sagecoin
16+
environment-file: environment.yml
17+
python-version: 3.7
18+
auto-activate-base: false
1619
- name: Install dependencies
20+
shell: bash -l {0}
1721
run: |
1822
python -m pip install --upgrade pip
1923
pip install setuptools twine
2024
- name: Build and publish
2125
env:
2226
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
2327
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
28+
shell: bash -l {0}
2429
run: |
25-
python setup.py sdist
30+
python3 setup.py sdist
2631
twine upload dist/*

0 commit comments

Comments
 (0)