From 51d289549301c01062f61b3d66ed84912ade2fec Mon Sep 17 00:00:00 2001 From: quake Date: Mon, 12 Aug 2024 09:55:39 +0800 Subject: [PATCH] chore: update workflow file --- .github/workflows/release.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cc90dde..52de4ef 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ ubuntu-20.04, ubuntu-22.04, macos-11, macos-12, windows-2019 ] + os: [ ubuntu-20.04, ubuntu-22.04, macos-12, macos-13, windows-2019 ] include: - os: ubuntu-20.04 bin_suffix: @@ -22,10 +22,10 @@ jobs: - os: ubuntu-22.04 bin_suffix: pkg_suffix: x86_64-linux - - os: macos-11 + - os: macos-12 bin_suffix: pkg_suffix: x86_64-darwin-portable - - os: macos-12 + - os: macos-13 bin_suffix: pkg_suffix: x86_64-darwin - os: windows-2019 @@ -63,14 +63,14 @@ jobs: - if: matrix.os == 'ubuntu-22.04' name: Build linux run: cargo build --release - - if: matrix.os == 'macos-11' + - if: matrix.os == 'macos-12' name: Build macos portable run: | export OPENSSL_LIB_DIR=/usr/local/opt/openssl@1.1/lib export OPENSSL_INCLUDE_DIR=/usr/local/opt/openssl@1.1/include export OPENSSL_STATIC=1 cargo build --release --features portable - - if: matrix.os == 'macos-12' + - if: matrix.os == 'macos-13' name: Build macos run: | export OPENSSL_LIB_DIR=/usr/local/opt/openssl@1.1/lib