File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 11name : Publish DataSAIL
22
33on :
4- release :
5- types : [published]
4+ # release:
5+ # types: [published]
66 workflow_dispatch :
77
88jobs :
Original file line number Diff line number Diff line change 1+ PYTHON_V=$1
2+ VERSION=$2
3+ TOKEN=$3
4+
5+ conda create -n builder -y python=$PYTHON_V
6+ source /home/rjo21/miniconda3/bin/activate builder
7+ conda install anaconda-client conda-build git
8+ if [ $VERSION == " full" ]; then
9+ conda-build -q -c conda-forge -c bioconda --output-folder . --no-test --override-channels --package-format tar.bz2 --append-file base_recipe.yaml recipe
10+ else
11+ conda-build -q -c conda-forge -c bioconda --output-folder . --no-test --override-channels --package-format tar.bz2 --append-file base_recipe.yaml recipe_lite
12+ conda convert -p osx-arm64 linux-64/* .tar.bz2
13+ conda convert -p win-64 linux-64/* .tar.bz2
14+ anaconda -t $TOKEN upload osx-arm64/* .tar.bz2
15+ anaconda -t $TOKEN upload win-64/* .tar.bz2
16+ fi
17+ conda convert -p osx-64 linux-64/* .tar.bz2
18+ anaconda -t $TOKEN upload linux-64/* .tar.bz2
19+ anaconda -t $TOKEN upload osx-64/* .tar.bz2
20+
21+ source /home/rjo21/miniconda3/bin/deactivate
22+ # conda remove -n builder --all -y
You can’t perform that action at this time.
0 commit comments