Skip to content

Commit e750d36

Browse files
committed
Fix build on GitHub actions, mk. 2
1 parent c7a90f4 commit e750d36

File tree

1 file changed

+10
-25
lines changed

1 file changed

+10
-25
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,16 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
appimage-x86_64:
7-
name: AppImage x86_64
8-
runs-on: ubuntu-18.04
9-
env:
10-
ARCH: x86_64
11-
DIST: bionic
12-
steps:
13-
- uses: actions/checkout@v2
14-
with:
15-
submodules: recursive
16-
- name: Build AppImage in Docker
17-
run: bash -ex ci/build-in-docker.sh
18-
- name: Archive artifacts
19-
uses: actions/upload-artifact@v2
20-
with:
21-
name: AppImage x86_64
22-
path: zsync*.AppImage*
6+
appimage:
7+
schedule:
8+
matrix:
9+
ARCH: [x86_64, i386]
2310

24-
appimage-i386:
25-
name: AppImage i386
26-
runs-on: ubuntu-18.04
11+
name: AppImage ${{ matrix.ARCH }}
12+
runs-on: ubuntu-latest
2713
env:
28-
ARCH: i386
29-
DIST: xenial
14+
ARCH: ${{ matrix.ARCH }}
15+
DIST: bionic
3016
steps:
3117
- uses: actions/checkout@v2
3218
with:
@@ -36,14 +22,13 @@ jobs:
3622
- name: Archive artifacts
3723
uses: actions/upload-artifact@v2
3824
with:
39-
name: AppImage i386
25+
name: AppImage ${{ matrix.ARCH }}
4026
path: zsync*.AppImage*
4127

4228
upload:
4329
name: Create release and upload artifacts
4430
needs:
45-
- appimage-x86_64
46-
- appimage-i386
31+
- appimage
4732
runs-on: ubuntu-latest
4833
steps:
4934
- name: Download artifacts

0 commit comments

Comments
 (0)