File tree Expand file tree Collapse file tree 2 files changed +13
-18
lines changed
Expand file tree Collapse file tree 2 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 88jobs :
99 build-and-upload :
1010 runs-on : ubuntu-latest
11+ defaults :
12+ run :
13+ shell : bash -l {0}
1114
1215 steps :
16+ - uses : conda-incubator/setup-miniconda@v3
17+ with :
18+ miniconda-version : " latest"
19+ channels : bioconda, conda-forge, defaults
20+ use-only-tar-bz2 : true # IMPORTANT: This needs to be set for caching to work properly!
21+ auto-update-conda : true
22+ auto-activate-base : true
23+
1324 # 1) Check out the current repo (so we can access conda-recipe/)
1425 - name : Check out repository
1526 uses : actions/checkout@v3
1829
1930 # 2) Install Miniconda and conda-build/anaconda-client
2031 - name : create environment with conda
21- uses : conda-incubator/setup-miniconda@v3
22- with :
23- channels : conda-forge,defaults
24- auto-activate-base : false
25- auto-update-conda : true
26- activate-environment : build-env
27- environment-file : conda-recipe/build-env.yaml
28-
32+ run : |
33+ conda install -y conda-build anaconda-client
2934 # 3) Determine VERSION (strip the leading “v”) and compute SHA256
3035 - name : Set version and SHA256
3136 id : vars
7984 - name : Build conda package
8085 run : |
8186 cd conda-recipe
82- conda activate build-env
8387 conda-build . --output-folder ../conda-build-artifacts
8488
8589 # 6) Upload the built package to Anaconda.org
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments