neiam /action-setup-beam
action-setup-beam
public · Issues · Pulls · Labels · Forks · Compare · Actions queued
⭐
Log in to mark this repository.
Use new domain repo.hex.pm => builds.hex.pm (#192)
c2e02f7 · Eric Meadows-Jönsson · 2023-05-01 13:59
Files changed
modified
dist/index.js
+2
−2
@@ -7416,7 +7416,7 @@ async function getOTPVersions(osVersion) {
| 7416 | 7416 | let originListing |
| 7417 | 7417 | let pageIdxs |
| 7418 | 7418 | if (process.platform === 'linux') { |
| 7419 | − originListing = `https://repo.hex.pm/builds/otp/${osVersion}/builds.txt` | |
| 7419 | + originListing = `https://builds.hex.pm/builds/otp/${osVersion}/builds.txt` | |
| 7420 | 7420 | pageIdxs = [null] |
| 7421 | 7421 | } else if (process.platform === 'win32') { |
| 7422 | 7422 | originListing = |
@@ -7456,7 +7456,7 @@ async function getOTPVersions(osVersion) {
| 7456 | 7456 | |
| 7457 | 7457 | async function getElixirVersions() { |
| 7458 | 7458 | const elixirVersionsListings = await get( |
| 7459 | − 'https://repo.hex.pm/builds/elixir/builds.txt', | |
| 7459 | + 'https://builds.hex.pm/builds/elixir/builds.txt', | |
| 7460 | 7460 | [null], |
| 7461 | 7461 | ) |
| 7462 | 7462 | const otpVersionsForElixirMap = new Map() |
modified
dist/install-elixir.ps1
+1
−1
@@ -9,7 +9,7 @@ $FILE_OUTPUT="elixir.zip"
| 9 | 9 | $DIR_FOR_BIN=".setup-beam/elixir" |
| 10 | 10 | |
| 11 | 11 | $ProgressPreference="SilentlyContinue" |
| 12 | −Invoke-WebRequest "https://repo.hex.pm/builds/elixir/${FILE_INPUT}" -OutFile "${FILE_OUTPUT}" | |
| 12 | +Invoke-WebRequest "https://builds.hex.pm/builds/elixir/${FILE_INPUT}" -OutFile "${FILE_OUTPUT}" | |
| 13 | 13 | $ProgressPreference="Continue" |
| 14 | 14 | New-Item "${DIR_FOR_BIN}" -ItemType Directory | Out-Null |
| 15 | 15 | $ProgressPreference="SilentlyContinue" |
modified
dist/install-elixir.sh
+1
−1
@@ -9,7 +9,7 @@ FILE_INPUT="${VSN}.zip"
| 9 | 9 | FILE_OUTPUT=elixir.zip |
| 10 | 10 | DIR_FOR_BIN=.setup-beam/elixir |
| 11 | 11 | |
| 12 | −wget -q -O "${FILE_OUTPUT}" "https://repo.hex.pm/builds/elixir/${FILE_INPUT}" | |
| 12 | +wget -q -O "${FILE_OUTPUT}" "https://builds.hex.pm/builds/elixir/${FILE_INPUT}" | |
| 13 | 13 | mkdir -p "${DIR_FOR_BIN}" |
| 14 | 14 | unzip -q -o -d "${DIR_FOR_BIN}" "${FILE_OUTPUT}" |
| 15 | 15 | echo "Installed Elixir version follows" |
modified
dist/install-otp.sh
+1
−1
@@ -10,7 +10,7 @@ FILE_INPUT="${VSN}.tar.gz"
| 10 | 10 | FILE_OUTPUT=otp.tar.gz |
| 11 | 11 | DIR_FOR_BIN=.setup-beam/otp |
| 12 | 12 | |
| 13 | −wget -q -O "${FILE_OUTPUT}" "https://repo.hex.pm/builds/otp/${OS}/${FILE_INPUT}" | |
| 13 | +wget -q -O "${FILE_OUTPUT}" "https://builds.hex.pm/builds/otp/${OS}/${FILE_INPUT}" | |
| 14 | 14 | mkdir -p "${DIR_FOR_BIN}" |
| 15 | 15 | tar zxf "${FILE_OUTPUT}" -C "${DIR_FOR_BIN}" --strip-components=1 |
| 16 | 16 | "${DIR_FOR_BIN}/Install" -minimal "$(pwd)/${DIR_FOR_BIN}" |
modified
src/install-elixir.ps1
+1
−1
@@ -9,7 +9,7 @@ $FILE_OUTPUT="elixir.zip"
| 9 | 9 | $DIR_FOR_BIN=".setup-beam/elixir" |
| 10 | 10 | |
| 11 | 11 | $ProgressPreference="SilentlyContinue" |
| 12 | −Invoke-WebRequest "https://repo.hex.pm/builds/elixir/${FILE_INPUT}" -OutFile "${FILE_OUTPUT}" | |
| 12 | +Invoke-WebRequest "https://builds.hex.pm/builds/elixir/${FILE_INPUT}" -OutFile "${FILE_OUTPUT}" | |
| 13 | 13 | $ProgressPreference="Continue" |
| 14 | 14 | New-Item "${DIR_FOR_BIN}" -ItemType Directory | Out-Null |
| 15 | 15 | $ProgressPreference="SilentlyContinue" |
modified
src/install-elixir.sh
+1
−1
@@ -9,7 +9,7 @@ FILE_INPUT="${VSN}.zip"
| 9 | 9 | FILE_OUTPUT=elixir.zip |
| 10 | 10 | DIR_FOR_BIN=.setup-beam/elixir |
| 11 | 11 | |
| 12 | −wget -q -O "${FILE_OUTPUT}" "https://repo.hex.pm/builds/elixir/${FILE_INPUT}" | |
| 12 | +wget -q -O "${FILE_OUTPUT}" "https://builds.hex.pm/builds/elixir/${FILE_INPUT}" | |
| 13 | 13 | mkdir -p "${DIR_FOR_BIN}" |
| 14 | 14 | unzip -q -o -d "${DIR_FOR_BIN}" "${FILE_OUTPUT}" |
| 15 | 15 | echo "Installed Elixir version follows" |
modified
src/install-otp.sh
+1
−1
@@ -10,7 +10,7 @@ FILE_INPUT="${VSN}.tar.gz"
| 10 | 10 | FILE_OUTPUT=otp.tar.gz |
| 11 | 11 | DIR_FOR_BIN=.setup-beam/otp |
| 12 | 12 | |
| 13 | −wget -q -O "${FILE_OUTPUT}" "https://repo.hex.pm/builds/otp/${OS}/${FILE_INPUT}" | |
| 13 | +wget -q -O "${FILE_OUTPUT}" "https://builds.hex.pm/builds/otp/${OS}/${FILE_INPUT}" | |
| 14 | 14 | mkdir -p "${DIR_FOR_BIN}" |
| 15 | 15 | tar zxf "${FILE_OUTPUT}" -C "${DIR_FOR_BIN}" --strip-components=1 |
| 16 | 16 | "${DIR_FOR_BIN}/Install" -minimal "$(pwd)/${DIR_FOR_BIN}" |
modified
src/setup-beam.js
+2
−2
@@ -223,7 +223,7 @@ async function getOTPVersions(osVersion) {
| 223 | 223 | let originListing |
| 224 | 224 | let pageIdxs |
| 225 | 225 | if (process.platform === 'linux') { |
| 226 | − originListing = `https://repo.hex.pm/builds/otp/${osVersion}/builds.txt` | |
| 226 | + originListing = `https://builds.hex.pm/builds/otp/${osVersion}/builds.txt` | |
| 227 | 227 | pageIdxs = [null] |
| 228 | 228 | } else if (process.platform === 'win32') { |
| 229 | 229 | originListing = |
@@ -263,7 +263,7 @@ async function getOTPVersions(osVersion) {
| 263 | 263 | |
| 264 | 264 | async function getElixirVersions() { |
| 265 | 265 | const elixirVersionsListings = await get( |
| 266 | − 'https://repo.hex.pm/builds/elixir/builds.txt', | |
| 266 | + 'https://builds.hex.pm/builds/elixir/builds.txt', | |
| 267 | 267 | [null], |
| 268 | 268 | ) |
| 269 | 269 | const otpVersionsForElixirMap = new Map() |
Parents: 2595a95