Add osVersion parameter based on ImageOS env variable

This commit is contained in:
Denis Kulicek
2020-10-28 15:12:26 +01:00
parent 584173361f
commit d114e80cc4
5 changed files with 34 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ set -eo pipefail
cd $RUNNER_TEMP
wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/ubuntu-14.04/OTP-${1}.tar.gz
wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/${2}/OTP-${1}.tar.gz
mkdir -p .setup-elixir/otp
tar zxf otp.tar.gz -C .setup-elixir/otp --strip-components=1
rm otp.tar.gz