Skip to content

Commit aa6c75b

Browse files
committed
use provision-with-micromamba in update-resources
1 parent b9492a5 commit aa6c75b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/auto_update_main.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,18 @@ jobs:
5454
ref: gh-pages
5555
path: gh-pages
5656
- name: install script deps
57-
run: pip install requests typer bioimageio.spec lxml
57+
uses: mamba-org/provision-with-micromamba@main
58+
with:
59+
cache-downloads: true
60+
cache-env: true
61+
extra-specs: | # script dependencies
62+
bioimageio.spec
63+
lxml
64+
requests
65+
typer
5866
- name: update external resources
5967
id: update_external
68+
shell: bash -l {0}
6069
run: python scripts/update_external_resources.py --max-resource-count 15 ${{ github.event_name == 'pull_request' && '--no-ignore-status-5xx' || '--ignore-status-5xx' }}
6170
- name: "Upload collection update"
6271
uses: actions/upload-artifact@v3
@@ -71,6 +80,7 @@ jobs:
7180
mkdir dist
7281
mv tmp_download_counts.json dist/download_counts.json
7382
- name: update partner resources
83+
shell: bash -l {0}
7484
run: python scripts/update_partner_resources.py
7585
- name: Upload preview of updated partner resources
7686
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)