From bde513d0884b69df1ebab40986e4ae364344e480 Mon Sep 17 00:00:00 2001 From: Badlop Date: Wed, 27 Apr 2022 13:31:14 +0200 Subject: [PATCH] CI: For older erlang versions, get old rebars --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a9502f63..5c69809bb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,13 @@ jobs: with: otp-version: ${{ matrix.otp }} + - name: Get a compatible Rebar + if: matrix.rebar == 2 + run: | + rm rebar + wget https://github.com/processone/ejabberd/raw/21.12/rebar + chmod +x rebar + - name: Prepare databases run: | sudo systemctl start mysql.service