parent
398afb1307
commit
3df889f7a3
1 changed files with 6 additions and 15 deletions
|
@ -16,21 +16,12 @@ jobs:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install wget
|
- name: Setup Elixir
|
||||||
run: sudo apt-get install -y openssl libssl-dev wget
|
run: curl -fsSO https://elixir-lang.org/install.sh && \
|
||||||
|
sh install.sh elixir@1.17.3 otp@27.1.2 $$ \
|
||||||
- name: Install openssl
|
installs_dir=$HOME/.elixir-install/installs && \
|
||||||
run: wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_amd64.deb && sudo dpkg -i libssl1.1_1.1.0g-2ubuntu4_amd64.deb && sudo ln -s /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1
|
export PATH=$installs_dir/otp/27.1.2/bin:$PATH && \
|
||||||
|
export PATH=$installs_dir/elixir/1.17.3-otp-27/bin:$PATH
|
||||||
- name: Set up Elixir
|
|
||||||
uses: erlef/setup-beam@v1
|
|
||||||
with:
|
|
||||||
elixir-version: "1.17.x"
|
|
||||||
otp-version: "26.x"
|
|
||||||
install-rebar: false
|
|
||||||
hexpm-mirrors: |
|
|
||||||
https://builds.hex.pm
|
|
||||||
https://cdn.jsdelivr.net/hex
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: mix deps.get
|
run: mix deps.get
|
||||||
|
|
Loading…
Reference in a new issue