CI: Get rebar3 compatible with previous OTP, the one in Ubuntu 20.04 is not

This commit is contained in:
Badlop 2021-05-27 16:29:08 +02:00
parent 2c20414453
commit 9010c35193
1 changed files with 3 additions and 1 deletions

View File

@ -199,6 +199,8 @@ jobs:
uses: ErlGang/setup-erlang@master
with:
otp-version: ${{ matrix.otp }}
- name: Get a compatible Rebar3
run: wget https://s3.amazonaws.com/rebar3/rebar3 && chmod +x rebar3
- name: Cache Rebar3
uses: actions/cache@v2
with:
@ -214,7 +216,7 @@ jobs:
- name: Compile
run: |
./autogen.sh
./configure --with-rebar=`which rebar3` \
./configure --with-rebar=./rebar3 \
--prefix=/tmp/ejabberd \
--disable-debug \
--enable-all \