Skip to content

Commit

Permalink
build appimage on ubuntu instead
Browse files Browse the repository at this point in the history
  • Loading branch information
GaZaTu committed Jul 13, 2023
1 parent fdd5a37 commit d2b4a2a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ jobs:
if: startsWith(matrix.image, 'ubuntu') || startsWith(matrix.image, 'debian')
run: apt update && apt install -y wget file dpkg-dev fuse git g++ cmake qtbase5-dev libxdo-dev

- name: Install dependencies (debian:10)
if: startsWith(matrix.image, 'debian:10')
run: apt install -y qt5-qmake

- name: Install dependencies (opensuse)
if: startsWith(matrix.image, 'opensuse')
run: zypper refresh && zypper install -y tar gzip rpm-build git gcc-c++ cmake libqt5-qtbase-devel xdotool-devel
Expand All @@ -40,7 +36,7 @@ jobs:
run: dnf clean expire-cache && dnf install -y tar gzip rpm-build git gcc-c++ cmake qt5-qtbase-devel libxdo-devel

- name: Install dependencies .AppImage
if: startsWith(matrix.image, 'debian:10')
if: startsWith(matrix.image, 'ubuntu:20.04')
run: |
wget -c -nv "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"
chmod a+x linuxdeployqt-continuous-x86_64.AppImage
Expand Down Expand Up @@ -89,7 +85,7 @@ jobs:
make package
- name: Package .AppImage
if: startsWith(matrix.image, 'debian:10')
if: startsWith(matrix.image, 'ubuntu:20.04')
run: |
cd build
make appimage
Expand All @@ -115,7 +111,7 @@ jobs:
mv build/x11-emoji-picker-x86_64.rpm build/${{env.ARTIFACT_NAME_WITH_DISTRO}}.rpm
- name: Rename artifact .AppImage
if: startsWith(matrix.image, 'debian:10')
if: startsWith(matrix.image, 'ubuntu:20.04')
run: |
mv build/x11-emoji-picker-dev-x86_64.AppImage build/${{env.ARTIFACT_NAME}}.AppImage
Expand All @@ -136,7 +132,7 @@ jobs:
if-no-files-found: error

- name: Upload artifact .AppImage
if: startsWith(matrix.image, 'debian:10')
if: startsWith(matrix.image, 'ubuntu:20.04')
uses: actions/upload-artifact@v3
with:
name: ${{env.ARTIFACT_NAME}}.AppImage
Expand Down

0 comments on commit d2b4a2a

Please sign in to comment.