-
Notifications
You must be signed in to change notification settings - Fork 4
Review GitHub Actions failure and create fix #317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,16 +13,16 @@ jobs: | |
| include: | ||
| - platform: macos-latest | ||
| webkit-package: "" | ||
| - platform: ubuntu-18.04 | ||
| webkit-package: "libwebkit2gtk-4.0-dev" | ||
| - platform: ubuntu-20.04 | ||
| webkit-package: "libwebkit2gtk-4.0-dev" | ||
| javascriptcore-package: "" | ||
| - platform: ubuntu-22.04 | ||
| webkit-package: "libwebkit2gtk-4.0-dev" | ||
| webkit-package: "libwebkit2gtk-4.1-dev" | ||
| javascriptcore-package: "libjavascriptcoregtk-4.1-dev" | ||
|
Comment on lines
17
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The PR desktop test matrix now installs Useful? React with 👍 / 👎. |
||
| - platform: ubuntu-24.04 | ||
| webkit-package: "libwebkit2gtk-4.0-dev" | ||
| webkit-package: "libwebkit2gtk-4.1-dev" | ||
| javascriptcore-package: "libjavascriptcoregtk-4.1-dev" | ||
| - platform: windows-latest | ||
| webkit-package: "" | ||
| javascriptcore-package: "" | ||
|
|
||
| runs-on: ${{ matrix.platform }} | ||
|
|
||
|
|
@@ -32,25 +32,23 @@ jobs: | |
| - name: Setup Node.js | ||
| uses: actions/setup-node@v5 | ||
| with: | ||
| node-version: latest | ||
| node-version: '20' | ||
|
|
||
| - name: Install Rust stable | ||
| uses: actions-rs/toolchain@v1 | ||
| uses: dtolnay/rust-toolchain@stable | ||
| with: | ||
| toolchain: stable | ||
| profile: minimal | ||
| override: true | ||
|
|
||
| - name: Install dependencies (Ubuntu only) | ||
| if: startsWith(matrix.platform, 'ubuntu-') | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y libgtk-3-dev ${{ matrix.webkit-package }} libjavascriptcoregtk-4.0-dev libsoup2.4-dev libayatana-appindicator3-dev librsvg2-dev pkg-config | ||
| sudo apt-get install -y libgtk-3-dev ${{ matrix.webkit-package }} ${{ matrix.javascriptcore-package }} libsoup2.4-dev libayatana-appindicator3-dev librsvg2-dev pkg-config | ||
|
|
||
| - name: Install and Build Application | ||
| run: yarn install && yarn build | ||
| working-directory: ${{ env.WORKING_DIRECTORY }} | ||
|
|
||
| - uses: tauri-apps/tauri-action@v0 | ||
| - uses: tauri-apps/tauri-action@v0.5 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Ubuntu leg of the tauri desktop release matrix now asks for
libwebkit2gtk-4.1-devandlibjavascriptcoregtk-4.1-dev, but Ubuntu 22.04 only provides the 4.0 variants. On theubuntu-22.04runner this apt step will fail with “Unable to locate package” before any build logic runs, breaking desktop artifact publishing for that platform. Consider keeping 4.0 on 22.04 (or switching the runner to 24.04) so the workflow can install dependencies.Useful? React with 👍 / 👎.