forked from ElementsProject/lightning
-
Notifications
You must be signed in to change notification settings - Fork 2
48 lines (45 loc) · 1.56 KB
/
ubuntu.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: Ubuntu only release
on: [push, pull_request]
jobs:
focal:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Builder image setup
run: sudo docker build -t cl-repro-focal - < contrib/reprobuild/Dockerfile.focal
- name: create release folder
run: mkdir release
- name: Building using the builder image
run: sudo docker run --rm -v $(pwd):/build -t cl-repro-focal
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: clightning-${{ github.sha }}-Ubuntu-20.04
path: release/*.tar.xz
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: clightning-${{ github.sha }}-Ubuntu-20.04
jammy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Builder image setup
run: sudo docker build -t cl-repro-jammy - < contrib/reprobuild/Dockerfile.jammy
- name: create release folder
run: mkdir release
- name: Building using the builder image
run: sudo docker run --rm -v $(pwd):/build -t cl-repro-jammy
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: clightning-${{ github.sha }}-Ubuntu-22.04
path: release/*.tar.xz
if-no-files-found: error
retention-days: 7
- name: Download artifacts
uses: actions/download-artifact@v3
with:
name: clightning-${{ github.sha }}-Ubuntu-22.04