From c053860f25752e6448286e71eaa0c3a14e55cd75 Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 16 Sep 2022 13:17:47 +0200 Subject: [PATCH] .github: Build separate 22.04 and 20.04 .deb file 20.04 deb without webview since the webview one is experimental. --- .github/workflows/python.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 45725cf..34d965b 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -57,7 +57,13 @@ jobs: path: legendary/dist/* 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: - uses: actions/checkout@v2 @@ -69,6 +75,10 @@ jobs: python3-requests python3-setuptools python3-wheel + + - name: Webview Dependencies + if: matrix.os == 'ubuntu-22.04' + run: sudo apt install python3-webview python3-gi python3-gi-cairo