diff --git a/.github/workflows/gradle.yaml b/.github/workflows/gradle.yaml index e5956d47ae..3e90c7d18e 100644 --- a/.github/workflows/gradle.yaml +++ b/.github/workflows/gradle.yaml @@ -144,7 +144,7 @@ jobs: bundle-linux: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: [build, test] if: contains(fromJSON('["workflow_dispatch", "create"]'), github.event_name) steps: @@ -160,14 +160,25 @@ jobs: - name: Set up Linux dependencies uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: libgtk-3-dev webkit2gtk-4.1 libappindicator3-dev librsvg2-dev patchelf libfuse2 + packages: | + build-essential curl wget file libssl-dev libgtk-3-dev libappindicator3-dev librsvg2-dev # Increment to invalidate the cache - version: 1.0 + version: 2.0 # Enables a workaround to attempt to run pre and post install scripts execute_install_scripts: true # Disables uploading logs as a build artifact debug: false + - name: Set up specific Linux versioned dependencies + run: | + sudo apt-get update && sudo apt-get install -y \ + libwebkit2gtk-4.1-0=2.44.0-2 \ + libwebkit2gtk-4.1-dev=2.44.0-2 \ + libjavascriptcoregtk-4.1-0=2.44.0-2 \ + libjavascriptcoregtk-4.1-dev=2.44.0-2 \ + gir1.2-javascriptcoregtk-4.1=2.44.0-2 \ + gir1.2-webkit2-4.1=2.44.0-2; + - name: Cache cargo dependencies uses: Swatinem/rust-cache@v2 with: