mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-31 11:06:09 +00:00
Improve on "Add Windows to the mix" (#52)
* Support more OTP+Windows versions (try to bridge the gap with gleam-lang/setup-erlang that seems to support pre-21 versions) * Merge ci.yml and test.yml * Add Elixir to the Windows mix * Hopefully improve error/warning messages * Adapt the doc.s to the current reality * Add option version-type (loose by default, for compatibility)
This commit is contained in:
committed by
GitHub
parent
82b4475ba2
commit
d8a37f5aac
@@ -9,12 +9,9 @@ FILE_INPUT=rebar3
|
||||
FILE_OUTPUT=rebar3
|
||||
DIR_FOR_BIN=.setup-beam/rebar3
|
||||
|
||||
rm -f "${FILE_OUTPUT}"
|
||||
rm -rf "${DIR_FOR_BIN}"
|
||||
wget -q -O "${FILE_OUTPUT}" "https://github.com/erlang/rebar3/releases/download/${VSN}/${FILE_INPUT}"
|
||||
mkdir -p "${DIR_FOR_BIN}/bin"
|
||||
chmod +x "${FILE_OUTPUT}"
|
||||
mv "${FILE_OUTPUT}" "${DIR_FOR_BIN}/bin"
|
||||
echo "$(pwd)/${DIR_FOR_BIN}/bin" >> "$GITHUB_PATH"
|
||||
echo "Installed rebar3 version follows"
|
||||
${DIR_FOR_BIN}/bin/rebar3 version
|
||||
|
||||
Reference in New Issue
Block a user