🐛 update ubuntu

This commit is contained in:
Tw93
2025-03-01 22:49:36 +08:00
parent 8c09c2e3b2
commit 099759d64b

View File

@@ -10,7 +10,7 @@ on:
options: options:
- 'windows-latest' - 'windows-latest'
- 'macos-latest' - 'macos-latest'
- 'ubuntu-20.04' - 'ubuntu-24.04'
url: url:
description: 'URL' description: 'URL'
required: true required: true
@@ -69,8 +69,8 @@ jobs:
with: with:
node-version: 18 node-version: 18
- name: Install Rust for ubuntu-20.04 - name: Install Rust for ubuntu-24.04
if: inputs.platform == 'ubuntu-20.04' if: inputs.platform == 'ubuntu-24.04'
uses: dtolnay/rust-toolchain@stable uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable toolchain: stable
@@ -91,7 +91,7 @@ jobs:
target: x86_64-apple-darwin target: x86_64-apple-darwin
- name: Install dependencies (ubuntu only) - name: Install dependencies (ubuntu only)
if: inputs.platform == 'ubuntu-20.04' if: inputs.platform == 'ubuntu-24.04'
uses: awalsh128/cache-apt-pkgs-action@v1.4.3 uses: awalsh128/cache-apt-pkgs-action@v1.4.3
with: with:
packages: libsoup3.0-dev libdbus-1-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra packages: libsoup3.0-dev libdbus-1-dev libjavascriptcoregtk-4.1-dev libwebkit2gtk-4.1-dev build-essential curl wget file libxdo-dev libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev gnome-video-effects gnome-video-effects-extra