-
Notifications
You must be signed in to change notification settings - Fork 35
32 lines (32 loc) · 884 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: build
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-22.04
strategy:
matrix:
erlang:
- 1:26.2-1
elixir:
- 1.14.5-1
rmqref:
- v3.13.x
steps:
- uses: actions/checkout@v2
- name: Install Erlang and Elixir
run: |
sudo add-apt-repository ppa:rabbitmq/rabbitmq-erlang
sudo apt update
sudo apt install -y --allow-downgrades erlang elixir
- name: Run tests
run: |
make current_rmq_ref=${{ matrix.rmqref }}
make tests current_rmq_ref=${{ matrix.rmqref }}
- name: Build distribution files
run: |
DIST_AS_EZS=yes make dist current_rmq_ref=${{ matrix.rmqref }}
- name: Store build artifacts
uses: actions/upload-artifact@v3
with:
name: plugins
path: plugins/