From 27565fe635f4265f9847269299a70c9b1467a435 Mon Sep 17 00:00:00 2001 From: Krishan <33421343+kfiven@users.noreply.github.com> Date: Tue, 3 Mar 2026 11:40:29 +1100 Subject: [PATCH] Update GTK dependency version in test workflow (#528) * Update GTK dependency version in test workflow * Modify test.yml for new platforms and args Updated GitHub Actions workflow to include Ubuntu 22.04 and additional arguments for macOS. * Enable pull request trigger for workflow --- .github/workflows/test.yml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 85a953e..1c590b7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,14 +1,20 @@ name: "Build pull request" on: - #pull_request: - #types: ['opened', 'synchronize'] + pull_request: + types: ['opened', 'synchronize'] jobs: publish-tauri: strategy: fail-fast: false matrix: - platform: [macos-latest, ubuntu-20.04, windows-latest] + include: + - platform: 'macos-latest' + args: '--target universal-apple-darwin' + - platform: 'ubuntu-22.04' + args: '' + - platform: 'windows-latest' + args: '' runs-on: ${{ matrix.platform }} steps: @@ -26,10 +32,10 @@ jobs: with: toolchain: stable - name: Install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-20.04' + if: matrix.platform == 'ubuntu-22.04' run: | sudo apt-get update - sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf + sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf - name: Install cinny dependencies run: cd cinny && npm ci - name: Install tauri dependencies @@ -37,4 +43,7 @@ jobs: - name: Build desktop app with Tauri uses: tauri-apps/tauri-action@v0.5.14 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TAURI_PRIVATE_KEY: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY }} + TAURI_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} + NODE_OPTIONS: "--max_old_space_size=4096"