Skip to content

Commit 683e229

Browse files
authored
Use conda-forge instead of PyPI to provision sdist workflow (#31)
1 parent 83afec4 commit 683e229

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/wheel.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ on: [push, workflow_dispatch]
55
jobs:
66
sdist:
77
runs-on: ubuntu-latest
8+
defaults:
9+
run:
10+
shell: bash -l {0}
811
steps:
912
- uses: actions/checkout@v3
1013
- name: Setup Python
11-
uses: actions/setup-python@v4
14+
uses: mamba-org/provision-with-micromamba@main
1215
with:
13-
python-version: '3.x'
16+
environment-file: assets/ci/python-env.yaml
17+
extra-specs: |
18+
meson-python
19+
python-build
1420
- name: Reorganize repository
1521
run: |
1622
git config user.email ""
@@ -20,7 +26,6 @@ jobs:
2026
git mv python/{mesonpep517,pyproject}.toml
2127
git commit -m "Python dist"
2228
- run: |
23-
pip install meson-python 'meson==0.62.*' cffi numpy build
2429
python -m build python/ --sdist --outdir . -n
2530
- uses: actions/upload-artifact@v3
2631
with:

0 commit comments

Comments
 (0)