mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-19 18:06:16 +08:00
Use builds.hex.pm domain
This commit is contained in:
parent
6ba699fbf5
commit
04afc9bd51
2 changed files with 2 additions and 2 deletions
2
.github/scripts/app/build_macos.sh
vendored
2
.github/scripts/app/build_macos.sh
vendored
|
@ -34,7 +34,7 @@ download_elixir() {
|
|||
if [ ! -d $elixir_dir ]; then
|
||||
otp_release=$(erl -noshell -eval 'io:format("~s", [erlang:system_info(otp_release)]), halt().')
|
||||
elixir_zip=v${ELIXIR_VERSION}-otp-${otp_release}.zip
|
||||
url=https://repo.hex.pm/builds/elixir/$elixir_zip
|
||||
url=https://builds.hex.pm/builds/elixir/$elixir_zip
|
||||
echo downloading $url
|
||||
curl --fail -LO $url
|
||||
mkdir -p $elixir_dir
|
||||
|
|
|
@ -93,7 +93,7 @@ defmodule Standalone do
|
|||
end
|
||||
|
||||
defp download_elixir_at_destination(destination, version) do
|
||||
url = "https://repo.hex.pm/builds/elixir/v#{version}-otp-#{System.otp_release()}.zip"
|
||||
url = "https://builds.hex.pm/builds/elixir/v#{version}-otp-#{System.otp_release()}.zip"
|
||||
path = Path.join(System.tmp_dir!(), "elixir_#{version}.zip")
|
||||
|
||||
unless File.exists?(path) do
|
||||
|
|
Loading…
Add table
Reference in a new issue