.github: Build separate 22.04 and 20.04 .deb file

20.04 deb without webview since the webview one is experimental.
This commit is contained in:
derrod 2022-09-16 13:17:47 +02:00
parent 3ab31561bf
commit c053860f25

View file

@ -57,7 +57,13 @@ jobs:
path: legendary/dist/* path: legendary/dist/*
deb: deb:
runs-on: ubuntu-22.04 runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ['ubuntu-20.04', 'ubuntu-22.04']
fail-fast: false
max-parallel: 2
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@ -69,6 +75,10 @@ jobs:
python3-requests python3-requests
python3-setuptools python3-setuptools
python3-wheel python3-wheel
- name: Webview Dependencies
if: matrix.os == 'ubuntu-22.04'
run: sudo apt install
python3-webview python3-webview
python3-gi python3-gi
python3-gi-cairo python3-gi-cairo