File tree Expand file tree Collapse file tree 2 files changed +136
-0
lines changed Expand file tree Collapse file tree 2 files changed +136
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Create packages
2
+
3
+ on :
4
+ push :
5
+ branches : [ release-1.36 ]
6
+
7
+ permissions :
8
+ contents : read # to fetch code (actions/checkout)
9
+
10
+ jobs :
11
+ package :
12
+ strategy :
13
+ matrix :
14
+ os_dist :
15
+ - os : debian
16
+ dist : bullseye
17
+ arch : x86_64
18
+ - os : ubuntu
19
+ dist : focal
20
+ arch : x86_64
21
+ - os : ubuntu
22
+ dist : jammy
23
+ arch : x86_64
24
+ - os : debian
25
+ dist : bookworm
26
+ arch : x86_64
27
+ - os : debian
28
+ dist : bullseye
29
+ arch : aarch64
30
+ - os : ubuntu
31
+ dist : focal
32
+ arch : aarch64
33
+ - os : ubuntu
34
+ dist : jammy
35
+ arch : aarch64
36
+ - os : debian
37
+ dist : bookworm
38
+ arch : aarch64
39
+ runs-on : ubuntu-latest
40
+
41
+ steps :
42
+ - uses : actions/checkout@v4
43
+ with :
44
+ fetch-depth : ' 0'
45
+ submodules : recursive
46
+ - if : matrix.os_dist.arch == 'aarch64'
47
+ name : Set up QEMU
48
+ uses : docker/setup-qemu-action@v3
49
+ with :
50
+ platforms : arm64
51
+ - name : Run packpack
52
+ env :
53
+ SMPFLAGS : -j4
54
+ OS : ${{ matrix.os_dist.os }}
55
+ DIST : ${{ matrix.os_dist.dist }}
56
+ ARCH : ${{ matrix.os_dist.arch }}
57
+ DOCKER_REPO : packpack/packpack
58
+ run : utils/packpack/startpackpack.sh
59
+
60
+ - name : Publish
61
+ uses : easingthemes/ssh-deploy@main
62
+ env :
63
+ SSH_PRIVATE_KEY : ${{ secrets.ZMREPO_SSH_KEY }}
64
+ ARGS : " -rltgoDzvO"
65
+ SOURCE : build/
66
+ REMOTE_HOST : ${{ secrets.ZMREPO_HOST }}
67
+ REMOTE_USER : ${{ secrets.ZMREPO_SSH_USER }}
68
+ TARGET : debian/proposed/mini-dinstall/incoming/
Original file line number Diff line number Diff line change
1
+ name : Create packages
2
+
3
+ on :
4
+ release :
5
+ types : [ published ]
6
+
7
+ permissions :
8
+ contents : read # to fetch code (actions/checkout)
9
+
10
+ jobs :
11
+ package :
12
+ strategy :
13
+ matrix :
14
+ os_dist :
15
+ - os : debian
16
+ dist : bullseye
17
+ arch : x86_64
18
+ - os : ubuntu
19
+ dist : focal
20
+ arch : x86_64
21
+ - os : ubuntu
22
+ dist : jammy
23
+ arch : x86_64
24
+ - os : debian
25
+ dist : bookworm
26
+ arch : x86_64
27
+ - os : debian
28
+ dist : bullseye
29
+ arch : aarch64
30
+ - os : ubuntu
31
+ dist : focal
32
+ arch : aarch64
33
+ - os : ubuntu
34
+ dist : jammy
35
+ arch : aarch64
36
+ - os : debian
37
+ dist : bookworm
38
+ arch : aarch64
39
+ runs-on : ubuntu-latest
40
+
41
+ steps :
42
+ - uses : actions/checkout@v4
43
+ with :
44
+ fetch-depth : ' 0'
45
+ submodules : recursive
46
+ - if : matrix.os_dist.arch == 'aarch64'
47
+ name : Set up QEMU
48
+ uses : docker/setup-qemu-action@v3
49
+ with :
50
+ platforms : arm64
51
+ - name : Run packpack
52
+ env :
53
+ SMPFLAGS : -j4
54
+ OS : ${{ matrix.os_dist.os }}
55
+ DIST : ${{ matrix.os_dist.dist }}
56
+ ARCH : ${{ matrix.os_dist.arch }}
57
+ DOCKER_REPO : packpack/packpack
58
+ run : utils/packpack/startpackpack.sh
59
+
60
+ - name : Publish
61
+ uses : easingthemes/ssh-deploy@main
62
+ env :
63
+ SSH_PRIVATE_KEY : ${{ secrets.ZMREPO_SSH_KEY }}
64
+ ARGS : " -rltgoDzvO"
65
+ SOURCE : build/
66
+ REMOTE_HOST : ${{ secrets.ZMREPO_HOST }}
67
+ REMOTE_USER : ${{ secrets.ZMREPO_SSH_USER }}
68
+ TARGET : debian/release-1.36/mini-dinstall/incoming/
You can’t perform that action at this time.
0 commit comments