mirror of
https://github.com/eosswedenorg/antelope-keygen
synced 2026-07-02 11:43:40 +02:00
.github/workflows/package.yml: for ubuntu, use matrix includes for qt package instead of the if/else in bash.
This commit is contained in:
parent
7e8b1d6e66
commit
24136406a7
1 changed files with 5 additions and 5 deletions
10
.github/workflows/package.yml
vendored
10
.github/workflows/package.yml
vendored
|
|
@ -12,6 +12,10 @@ jobs:
|
||||||
os: [ ubuntu-20.04, ubuntu-22.04 ]
|
os: [ ubuntu-20.04, ubuntu-22.04 ]
|
||||||
component: [ cli, gui ]
|
component: [ cli, gui ]
|
||||||
include:
|
include:
|
||||||
|
- os: ubuntu-20.04
|
||||||
|
qt: qt5-default=5.12.8+dfsg-0ubuntu2.1
|
||||||
|
- os: ubuntu-22.04
|
||||||
|
qt: qtbase5-dev=5.15.3+dfsg-2ubuntu0.2
|
||||||
- component: cli
|
- component: cli
|
||||||
build-opts: --cli --no-gui -t Release --pkg-type deb
|
build-opts: --cli --no-gui -t Release --pkg-type deb
|
||||||
- component: gui
|
- component: gui
|
||||||
|
|
@ -26,11 +30,7 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
if [ "${{matrix.os}}" == "ubuntu-22.04" ]; then
|
sudo apt-get install ${{matrix.qt}}
|
||||||
sudo apt-get install qtbase5-dev=5.15.3+dfsg-2ubuntu0.2
|
|
||||||
else :
|
|
||||||
sudo apt-get install qt5-default=5.12.8+dfsg-0ubuntu2.1
|
|
||||||
fi
|
|
||||||
|
|
||||||
- name: Package
|
- name: Package
|
||||||
id: package
|
id: package
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue