Skip to content

Commit

Permalink
Update entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
postpop authored Feb 9, 2023
1 parent f3570a3 commit 15ee69a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ set -ex
set -o pipefail

go_to_build_dir() {
if [ ! -z $INPUT_SUBDIR ]; then
cd $INPUT_SUBDIR
if [ ! -z $INPUT_RECIPE_DIRECTORY ]; then
cd $INPUT_RECIPE_DIRECTORY
fi
}

Expand All @@ -17,7 +17,7 @@ check_if_meta_yaml_file_exists() {
}

build_package(){
conda build . -c conda-forge -c ncb -c anaconda --python $INPUT_PYVER --user $INPUT_ANACONDAUSER --token $INPUT_ANACONDATOKEN
conda build . -c conda-forge -c ncb -c anaconda --python $INPUT_PYTHON_VERSION --user $INPUT_ANACONDA_USER --token $INPUT_ANACONDA_TOKEN

go_to_build_dir
check_if_meta_yaml_file_exists
Expand Down

0 comments on commit 15ee69a

Please sign in to comment.