File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,9 @@ main() {
4242 mkdir -p " $DEPS_DIR /tools"
4343 wget -nv http://nightly.tlapl.us/dist/tla2tools.jar -P " $DEPS_DIR /tools"
4444 # Get Apalache
45- wget -nv https://github.com/informalsystems/apalache/releases/latest/download/apalache.tgz -O /tmp/apalache.tgz
45+ APALACHE_LATEST=" https://github.com/apalache-mc/apalache/releases/latest/download/apalache.tgz"
46+ APALACHE_FALLBACK=" https://github.com/apalache-mc/apalache/releases/download/v0.52.2/apalache.tgz"
47+ wget -nv " $APALACHE_LATEST " -O /tmp/apalache.tgz || wget -nv " $APALACHE_FALLBACK " -O /tmp/apalache.tgz
4648 tar -xzf /tmp/apalache.tgz --directory " $DEPS_DIR "
4749 # Get TLA⁺ community modules
4850 mkdir -p " $DEPS_DIR /community"
Original file line number Diff line number Diff line change @@ -38,7 +38,9 @@ main() {
3838 mkdir -p " $DEPS_DIR /tools"
3939 curl http://nightly.tlapl.us/dist/tla2tools.jar --output " $DEPS_DIR /tools/tla2tools.jar"
4040 # Get Apalache
41- curl -L https://github.com/informalsystems/apalache/releases/latest/download/apalache.zip --output apalache.zip
41+ APALACHE_LATEST=" https://github.com/apalache-mc/apalache/releases/latest/download/apalache.zip"
42+ APALACHE_FALLBACK=" https://github.com/apalache-mc/apalache/releases/download/v0.52.2/apalache.zip"
43+ curl -L --fail " $APALACHE_LATEST " --output apalache.zip || curl -L --fail " $APALACHE_FALLBACK " --output apalache.zip
4244 7z x apalache.zip
4345 mv apalache " $DEPS_DIR /"
4446 rm apalache.zip
You can’t perform that action at this time.
0 commit comments