This repository was archived by the owner on Apr 27, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99
1010 steps :
1111 - uses : actions/checkout@v1
12- - name : Install Elixir
12+ - name : Install asdf, erlang, elixir
1313 run : |
14- wget https://packages.erlang-solutions.com/erlang-solutions_2.0_all.deb && sudo dpkg -i erlang-solutions_2.0_all.deb
15- sudo apt-get update
16- sudo apt-get install esl-erlang inotify-tools
17- mkdir $HOME/elixir && cd $HOME/elixir
18- wget https://github.com/elixir-lang/elixir/releases/download/v1.11.4/Precompiled.zip
19- unzip Precompiled.zip
20- echo "$HOME/elixir/bin" >> $GITHUB_PATH
14+ sudo apt install curl git
15+ git clone https://github.com/asdf-vm/asdf.git $HOME/.asdf --branch v0.10.2
16+ . $HOME/.asdf/asdf.sh
17+ asdf plugin-add erlang
18+ asdf plugin-add elixir
2119
22- - name : Set up hex & rebar
23- run : |
20+ cd app
21+ asdf install
2422 mix local.hex --force
2523 mix local.rebar --force
2624
3028 java-version : 11
3129
3230 - name : Build with Gradle
33- run : bash ./gradlew assembleDebug --stacktrace
31+ run : |
32+ . $HOME/.asdf/asdf.sh
33+ ./gradlew assembleDebug --stacktrace
3434
3535 - name : Upload APK
3636 uses : actions/upload-artifact@v1
Original file line number Diff line number Diff line change 1- Erlang 25.0.4
21erlang 25.0.4
3- Elixir 1.13.4-otp-25
42elixir 1.13.4-otp-25
You can’t perform that action at this time.
0 commit comments