File tree Expand file tree Collapse file tree 1 file changed +10
-23
lines changed Expand file tree Collapse file tree 1 file changed +10
-23
lines changed Original file line number Diff line number Diff line change 9
9
- cron : ' 0 0 1 * *'
10
10
11
11
jobs :
12
- appimage-x86_64 :
13
- name : AppImage x86_64
12
+ appimage :
13
+ strategy :
14
+ matrix :
15
+ arch : ['x86_64', 'i386']
16
+
17
+ name : AppImage ${{ matrix.arch }}
14
18
runs-on : ubuntu-18.04
15
19
env :
16
- ARCH : x86_64
17
- steps :
18
- - uses : actions/checkout@v2
19
- with :
20
- submodules : recursive
21
- - name : Build AppImage
22
- run : bash -ex ci/build-appimage.sh
23
- - name : Archive artifacts
24
- uses : actions/upload-artifact@v2
25
- with :
26
- name : AppImage x86_64
27
- path : linuxdeploy-plugin-appimage*.AppImage*
28
-
29
- appimage-i386 :
30
- name : AppImage i386
31
- runs-on : ubuntu-18.04
32
- env :
33
- ARCH : i386
20
+ ARCH : ${{ matrix.ARCH }}
34
21
steps :
35
22
- uses : actions/checkout@v2
36
23
with :
37
24
submodules : recursive
38
25
- name : Install dependencies
26
+ if : ${{ matrix.ARCH == 'i386' }}
39
27
run : |
40
28
sudo dpkg --add-architecture i386
41
29
sudo apt-get update
@@ -45,14 +33,13 @@ jobs:
45
33
- name : Archive artifacts
46
34
uses : actions/upload-artifact@v2
47
35
with :
48
- name : AppImage i386
36
+ name : AppImage ${{ matrix.ARCH }}
49
37
path : linuxdeploy-plugin-appimage*.AppImage*
50
38
51
39
upload :
52
40
name : Create release and upload artifacts
53
41
needs :
54
- - appimage-x86_64
55
- - appimage-i386
42
+ - appimage
56
43
runs-on : ubuntu-latest
57
44
steps :
58
45
- name : Download artifacts
You can’t perform that action at this time.
0 commit comments