From 8ae5d3c71083ba3567d34a7d44d4744d5c1c695f Mon Sep 17 00:00:00 2001 From: scx1332 Date: Thu, 3 Oct 2024 17:48:54 +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 7176cdfdc..da57db57d 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