Files
setup-beam/dist/install-otp
T
2021-03-29 14:51:27 -05:00

13 lines
322 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
cd $RUNNER_TEMP
wget -q -O otp.tar.gz https://repo.hex.pm/builds/otp/${2}/${1}.tar.gz
mkdir -p .setup-beam/otp
tar zxf otp.tar.gz -C .setup-beam/otp --strip-components=1
rm otp.tar.gz
.setup-beam/otp/Install -minimal $(pwd)/.setup-beam/otp
echo "$(pwd)/.setup-beam/otp/bin" >> $GITHUB_PATH