-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (47 loc) · 1.44 KB
/
debug.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Debug
on:
push:
workflow_dispatch:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, ubuntu-22.04 ]
version: [ latest ]
include:
- { os: ubuntu-24.04, version: '1.3.1' }
name: ${{ matrix.os }} (${{ matrix.version }})
runs-on: ${{ matrix.os }}
continue-on-error: true # prevent the workflow to fail if this job fails
steps:
- run: curl -L https://packagecloud.io/cloudamqp/lavinmq/gpgkey | sudo apt-key add -
shell: bash
continue-on-error: true
- run: echo "deb https://packagecloud.io/cloudamqp/lavinmq/ubuntu/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/lavinmq.list
shell: bash
continue-on-error: true
- run: sudo apt-get update
shell: bash
continue-on-error: true
- name: "Install LavinMQ (${{ matrix.version }})"
run: |
if test "${{ matrix.version }}" = "latest";
then
sudo apt-get install lavinmq
else
sudo apt-get install "lavinmq=${{ matrix.version }}-1"
fi
shell: bash
- run: sudo ls -al /etc/lavinmq
shell: bash
continue-on-error: true
- run: sudo cat /etc/lavinmq/lavinmq.ini
shell: bash
continue-on-error: true
- run: sudo systemctl start lavinmq.service
shell: bash
continue-on-error: true
- run: sudo systemctl status lavinmq.service
shell: bash
continue-on-error: true