From 2c80ddb4d95e0dd017a0b5f8a5c7d224cce79791 Mon Sep 17 00:00:00 2001 From: scx1332 Date: Thu, 3 Oct 2024 13:41:07 +0200 Subject: [PATCH] Build images on ubuntu-22.04 for better compatibility --- .github/workflows/release.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0acf2d63f..d4e3c53ec 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -128,14 +128,17 @@ jobs: build: name: Build Release needs: create-release - runs-on: ${{ matrix.os }}-latest + runs-on: ${{ matrix.image }} strategy: fail-fast: false matrix: - os: - - ubuntu - - windows - - macos + include: + - os: ubuntu + image: ubuntu-22.04 + - os: windows + image: windows-latest + - os: macos + image: macos-latest env: X86_64_PC_WINDOWS_MSVC_OPENSSL_DIR: c:/vcpkg/installed/x64-windows-static