Skip to content

Commit

Permalink
improved build process
Browse files Browse the repository at this point in the history
Uses Ubuntu-20.04 to improve compatibility with older systems
".deb" is now also uploaded
  • Loading branch information
1zun4 committed Dec 9, 2023
1 parent 2906497 commit 1ccba61
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 1ccba61

Please sign in to comment.