From 9010c351934a0e33d859ec9eed441aaddc0e10a5 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 27 May 2021 16:29:08 +0200 Subject: [PATCH] CI: Get rebar3 compatible with previous OTP, the one in Ubuntu 20.04 is not --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2aed65d10..b6e2cead6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 \