13 lines
344 B
Bash
Executable File
13 lines
344 B
Bash
Executable File
#!/bin/bash
|
|
|
|
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
|
|
mkdir -p .setup-elixir/otp
|
|
tar zxf otp.tar.gz -C .setup-elixir/otp --strip-components=1
|
|
rm otp.tar.gz
|
|
.setup-elixir/otp/Install -minimal $(pwd)/.setup-elixir/otp
|
|
echo "$(pwd)/.setup-elixir/otp/bin" >> $GITHUB_PATH
|