From d9c2ae02645a71bb0fecb9692713fa6586dc8c15 Mon Sep 17 00:00:00 2001 From: Lantao Jin Date: Tue, 16 Jul 2024 18:23:54 +0800 Subject: [PATCH] Fix MacOS workflow failure Signed-off-by: Lantao Jin --- .github/workflows/integ-tests-with-security.yml | 2 +- .github/workflows/sql-test-and-build-workflow.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integ-tests-with-security.yml b/.github/workflows/integ-tests-with-security.yml index f12e67d5b9..4d19673ad9 100644 --- a/.github/workflows/integ-tests-with-security.yml +++ b/.github/workflows/integ-tests-with-security.yml @@ -60,7 +60,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ windows-latest, macos-latest ] + os: [ windows-latest, macos-13 ] java: [ 11, 17, 21 ] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/sql-test-and-build-workflow.yml b/.github/workflows/sql-test-and-build-workflow.yml index 1dd7176a3d..0b4b2caf5c 100644 --- a/.github/workflows/sql-test-and-build-workflow.yml +++ b/.github/workflows/sql-test-and-build-workflow.yml @@ -105,11 +105,11 @@ jobs: matrix: entry: - { os: windows-latest, java: 11, os_build_args: -x doctest -PbuildPlatform=windows } - - { os: macos-latest, java: 11} + - { os: macos-13, java: 11} - { os: windows-latest, java: 17, os_build_args: -x doctest -PbuildPlatform=windows } - - { os: macos-latest, java: 17 } + - { os: macos-13, java: 17 } - { os: windows-latest, java: 21, os_build_args: -x doctest -PbuildPlatform=windows } - - { os: macos-latest, java: 21 } + - { os: macos-13, java: 21 } runs-on: ${{ matrix.entry.os }} steps: