diff --git a/.github/workflows/tauri-build.yml b/.github/workflows/tauri-build.yml index 22aa3af2fc..91607b3b3b 100644 --- a/.github/workflows/tauri-build.yml +++ b/.github/workflows/tauri-build.yml @@ -86,20 +86,38 @@ jobs: uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Install dependencies (ubuntu only) - if: matrix.platform == 'ubuntu-22.04' + if: matrix.platform == 'ubuntu-22.04' && matrix.name == 'linux-x86_64-appimage' run: | sudo apt-get update - sudo apt install -y \ - libwebkit2gtk-4.0-dev \ + + sudo apt-get install -y \ build-essential \ curl \ wget \ file \ + libgtk-3-dev \ libxdo-dev \ libssl-dev \ - libayatana-appindicator3-dev \ + libappindicator3-dev \ librsvg2-dev \ - openjdk-17-jre-headless + openjdk-17-jre-headless \ + patchelf + + mkdir -p /tmp/ubuntu-packages + cd /tmp/ubuntu-packages + wget https://launchpadlibrarian.net/723972773/libwebkit2gtk-4.1-0_2.44.0-0ubuntu0.22.04.1_amd64.deb + wget https://launchpadlibrarian.net/723972761/libwebkit2gtk-4.1-dev_2.44.0-0ubuntu0.22.04.1_amd64.deb + wget https://launchpadlibrarian.net/723972770/libjavascriptcoregtk-4.1-0_2.44.0-0ubuntu0.22.04.1_amd64.deb + wget https://launchpadlibrarian.net/723972746/libjavascriptcoregtk-4.1-dev_2.44.0-0ubuntu0.22.04.1_amd64.deb + wget https://launchpadlibrarian.net/723972735/gir1.2-javascriptcoregtk-4.1_2.44.0-0ubuntu0.22.04.1_amd64.deb + wget https://launchpadlibrarian.net/723972739/gir1.2-webkit2-4.1_2.44.0-0ubuntu0.22.04.1_amd64.deb + wget https://launchpadlibrarian.net/606433947/libicu70_70.1-2ubuntu1_amd64.deb + wget https://launchpadlibrarian.net/606433941/libicu-dev_70.1-2ubuntu1_amd64.deb + wget https://launchpadlibrarian.net/606433945/icu-devtools_70.1-2ubuntu1_amd64.deb + wget https://launchpadlibrarian.net/595623693/libjpeg8_8c-2ubuntu10_amd64.deb + wget https://launchpadlibrarian.net/587202140/libjpeg-turbo8_2.1.2-0ubuntu1_amd64.deb + wget https://launchpadlibrarian.net/592959859/xdg-desktop-portal-gtk_1.14.0-1build1_amd64.deb + sudo apt-get install -y /tmp/ubuntu-packages/*.deb - name: Setup Node.js uses: actions/setup-node@v4 @@ -114,10 +132,10 @@ jobs: toolchain: stable targets: ${{ (matrix.platform == 'macos-15' || matrix.platform == 'macos-15-intel') && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }} - - name: Set up JDK 21 + - name: Set up JDK 17 uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4.7.1 with: - java-version: "21" + java-version: "17" distribution: "temurin" cache: gradle