Skip to content

Commit 4bd3ccc

Browse files
committed
we need a full environment to build source
1 parent b57a161 commit 4bd3ccc

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,15 @@ jobs:
2626
steps:
2727
- uses: actions/checkout@v4
2828

29-
- uses: actions/setup-python@v5
30-
name: Install Python
29+
- name: Setup environment
30+
uses: conda-incubator/setup-miniconda@v3
3131
with:
32-
python-version: '3.11'
32+
miniforge-variant: Miniforge3
33+
miniforge-version: latest
34+
python-version: ${{ matrix.python-version }}
35+
use-mamba: true
36+
auto-update-conda: true
37+
environment-file: .github/environment.yml
3338

3439
- name: Build sdist
3540
run: pipx run build --sdist

0 commit comments

Comments
 (0)