Swap to Environment Files

This commit is contained in:
Thomas Boop
2020-09-29 10:38:38 -04:00
parent 0899ea85a5
commit 5849652165
6 changed files with 91 additions and 26 deletions

View File

@@ -7,4 +7,4 @@ 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"
echo "$(pwd)/.setup-elixir/elixir/bin" >> $GITHUB_PATH

View File

@@ -9,4 +9,4 @@ 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 "::add-path::$(pwd)/.setup-elixir/otp/bin"
echo "$(pwd)/.setup-elixir/otp/bin" >> $GITHUB_PATH