Skip to content

Commit

Permalink
Bug fixes in entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Old-Shatterhand committed Nov 5, 2023
1 parent 54215a0 commit c7d362b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,16 +53,17 @@ build_package(){
}

upload_package(){
platforms=$(echo $INPUT_PLATFORMS | tr "," "\n")
platforms=$(echo $INPUT_PLATFORMS | tr "," "\n")

export ANACONDA_API_TOKEN=$INPUT_ANACONDATOKEN

anaconda upload --label main linux-64/*.tar.bz2
anaconda upload --label main linux-64/*.tar.bz2

for platform in $platforms; do
cmd="anaconda upload --label main $platform/*.tar.bz2"
echo "Upload command: $cmd"
eval cmd
cmd="anaconda upload --label main $platform/*.tar.bz2"
echo "Upload command: $cmd"
eval cmd
done
}

go_to_build_dir
Expand Down

0 comments on commit c7d362b

Please sign in to comment.