Skip to content

Commit c053860

Browse files
committed
.github: Build separate 22.04 and 20.04 .deb file
20.04 deb without webview since the webview one is experimental.
1 parent 3ab3156 commit c053860

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/python.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ jobs:
5757
path: legendary/dist/*
5858

5959
deb:
60-
runs-on: ubuntu-22.04
60+
runs-on: ${{ matrix.os }}
61+
strategy:
62+
matrix:
63+
os: ['ubuntu-20.04', 'ubuntu-22.04']
64+
fail-fast: false
65+
max-parallel: 2
66+
6167
steps:
6268
- uses: actions/checkout@v2
6369

@@ -69,6 +75,10 @@ jobs:
6975
python3-requests
7076
python3-setuptools
7177
python3-wheel
78+
79+
- name: Webview Dependencies
80+
if: matrix.os == 'ubuntu-22.04'
81+
run: sudo apt install
7282
python3-webview
7383
python3-gi
7484
python3-gi-cairo

0 commit comments

Comments
 (0)