From 1ccba6110d8e690904b9f29e820f21189aef16d4 Mon Sep 17 00:00:00 2001 From: 1zuna Date: Sat, 9 Dec 2023 03:14:07 +0100 Subject: [PATCH] improved build process Uses Ubuntu-20.04 to improve compatibility with older systems ".deb" is now also uploaded --- .github/workflows/build.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5028980..a278e88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-latest, windows-latest] + platform: [macos-latest, ubuntu-20.04, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -26,7 +26,7 @@ jobs: uses: dtolnay/rust-toolchain@stable - name: install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-latest' + if: matrix.platform == 'ubuntu-20.04' run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf @@ -58,11 +58,17 @@ jobs: TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }} - uses: actions/upload-artifact@v2 - if: matrix.platform == 'ubuntu-latest' + if: matrix.platform == 'ubuntu-20.04' with: - name: liquidlauncher-linux + name: liquidlauncher-appimage-linux path: ./src-tauri/target/release/bundle/appimage/liquidlauncher_**.AppImage.* + - uses: actions/upload-artifact@v2 + if: matrix.platform == 'ubuntu-20.04' + with: + name: liquidlauncher-deb-linux + path: ./src-tauri/target/release/bundle/deb/liquidlauncher_**.deb + - uses: actions/upload-artifact@v2 if: matrix.platform == 'windows-latest' with: