From 02f5ed9e56c4353373e51b9e5b6ac99f96140825 Mon Sep 17 00:00:00 2001 From: fufesou Date: Sun, 9 Apr 2023 12:43:44 +0800 Subject: [PATCH] update github workflow Signed-off-by: fufesou --- .github/workflows/flutter-build.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/flutter-build.yml b/.github/workflows/flutter-build.yml index b6eca6c22..e732a2a30 100644 --- a/.github/workflows/flutter-build.yml +++ b/.github/workflows/flutter-build.yml @@ -545,7 +545,7 @@ jobs: arch: x86_64, target: x86_64-unknown-linux-gnu, os: ubuntu-20.04, - extra-build-features: "", + extra-build-features: "linux_headless", } - { arch: x86_64, @@ -681,16 +681,7 @@ jobs: x86_64) # no need mock on x86_64 export VCPKG_ROOT=/opt/artifacts/vcpkg - case "${{ matrix.job.extra-build-features }}" in - "flatpak") - cargo build --lib --features hwcodec,flutter,flutter_texture_render,${{ matrix.job.extra-build-features }} --release - ;; - "appimage") - cargo build --lib --features hwcodec,flutter,flutter_texture_render,${{ matrix.job.extra-build-features }} --release - ;; - "") - cargo build --lib --features hwcodec,flutter,flutter_texture_render,linux_headless,${{ matrix.job.extra-build-features }} --release - ;; + cargo build --lib --features hwcodec,flutter,flutter_texture_render,${{ matrix.job.extra-build-features }} --release ;; esac