-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (56 loc) · 2.29 KB
/
build.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
49
50
51
52
53
54
55
56
57
58
name: build
on: workflow_call
jobs:
nfpm:
runs-on: ubuntu-latest
steps:
- name: Check out the repository to the runner
uses: actions/checkout@v4
- name: Create pg_restore_points DEB 17 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_17.yaml --packager deb
- name: Create pg_restore_points RPM 17 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_17.yaml --packager rpm
- name: Create pg_restore_points DEB 16 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_16.yaml --packager deb
- name: Create pg_restore_points RPM 16 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_16.yaml --packager rpm
- name: Create pg_restore_points DEB 15 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_15.yaml --packager deb
- name: Create pg_restore_points RPM 15 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_15.yaml --packager rpm
- name: Create pg_restore_points DEB 14 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_14.yaml --packager deb
- name: Create pg_restore_points RPM 14 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_14.yaml --packager rpm
- name: Create pg_restore_points DEB 13 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_13.yaml --packager deb
- name: Create pg_restore_points RPM 13 Package
uses: docker://goreleaser/nfpm:latest
with:
args: package --config=./nfpm/pg_restore_points_13.yaml --packager rpm
- name: Archive pg_restore_points Package
uses: actions/upload-artifact@v3
with:
name: packages
path: |
*_amd64.deb
*.x86_64.rpm
retention-days: 1