From 09e287733ca8363aa0ba967ff6d35d455fbca867 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 24 Feb 2021 14:17:30 +0100 Subject: [PATCH] .github/workflows/package.yml: Build package for Ubuntu 20.04 --- .github/workflows/package.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 036e97e..fa972d5 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -9,21 +9,27 @@ jobs: ubuntu: strategy: matrix: + os: [ ubuntu-18.04, ubuntu-20.04 ] component: [ cli, gui ] include: - component: cli build-opts: --cli --no-gui -t Release --pkg-type deb - component: gui build-opts: --no-cli --gui -t Release --pkg-type deb - name: Ubuntu (${{matrix.component}}) - runs-on: ubuntu-18.04 + name: ${{matrix.os}} (${{matrix.component}}) + runs-on: ${{matrix.os}} steps: - uses: actions/checkout@v1 - name: Qt if: startsWith(matrix.component, 'gui') shell: bash - run: sudo apt-get install qt5-default=5.9.5+dfsg-0ubuntu2.5 + run: | + if [ "${{matrix.os}}" == "ubuntu-20.04" ]; then + sudo apt-get install qt5-default=5.12.8+dfsg-0ubuntu1 + else : + sudo apt-get install qt5-default=5.9.5+dfsg-0ubuntu2.5 + fi - name: Package id: package