Files
setup-elixir/dist/install-elixir
2020-05-18 16:38:30 -04:00

11 lines
213 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
cd $RUNNER_TEMP
wget -q https://repo.hex.pm/builds/elixir/${1}${2}.zip
unzip -d .setup-elixir/elixir ${1}${2}.zip
rm ${1}${2}.zip
echo "::add-path::$(pwd)/.setup-elixir/elixir/bin"