mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-29 03:00:49 +00:00
Add environment variables (#94)
* Allow for Windows'22 container (win22 is just a guess, at this moment) * Add environment variables * Clean up code
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
set -eo pipefail
|
||||
|
||||
cd "$RUNNER_TEMP"
|
||||
cd "${RUNNER_TEMP}"
|
||||
|
||||
VSN=${1}
|
||||
FILE_INPUT="${VSN}.zip"
|
||||
@@ -14,3 +14,5 @@ mkdir -p "${DIR_FOR_BIN}"
|
||||
unzip -q -d "${DIR_FOR_BIN}" "${FILE_OUTPUT}"
|
||||
echo "Installed Elixir version follows"
|
||||
${DIR_FOR_BIN}/bin/elixir -v
|
||||
|
||||
echo "INSTALL_DIR_FOR_ELIXIR=${RUNNER_TEMP}/${DIR_FOR_BIN}" >> "${GITHUB_ENV}"
|
||||
|
||||
Reference in New Issue
Block a user