diff --git a/.github/workflows/release_github_test.yml b/.github/workflows/release_github_test.yml index 265297d..9ed154f 100644 --- a/.github/workflows/release_github_test.yml +++ b/.github/workflows/release_github_test.yml @@ -59,7 +59,7 @@ jobs: strategy: matrix: include: - - os: macos-latest + - os: macos-14 OS_CODE: macos - os: ubuntu-latest OS_CODE: linux @@ -70,14 +70,14 @@ jobs: - uses: actions/checkout@v4 - name: Get version - if: matrix.os == 'macos-latest' + if: matrix.os == 'macos-14' shell: bash run: | APP_VERSION=$(perl -n -e'/^__version__ = "([^"]+)"$/ && print $1' ${{ env.PACKAGE_NAME }}/version.py) echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV - name: Get version - if: matrix.os != 'macos-latest' + if: matrix.os != 'macos-14' shell: bash run: | APP_VERSION=$(sed -n 's/^__version__ = "\([^"]\+\)"$/\1/p' ${{ env.PACKAGE_NAME }}/version.py)