diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index bfc4487f..acfdab0c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,9 +1,8 @@ name: Release on: - pull_request: - types: [closed] - branches: [main] + push: + branches: [fix/macos-image] concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -11,14 +10,13 @@ concurrency: jobs: build-apple: - runs-on: macos-12 - if: github.head_ref == 'release' && github.event.pull_request.merged == true + runs-on: macos-15 steps: - uses: actions/checkout@v4 - uses: Homebrew/actions/setup-homebrew@master - uses: maxim-lobanov/setup-xcode@v1 with: - xcode-version: "13.3.1" + xcode-version: "16.0" - uses: ningenMe/setup-rustup@v1.1.0 - name: Install Make @@ -31,8 +29,8 @@ jobs: - name: Build Apple env: - APPLE_XCODE_APP_NAME: Xcode_13.3.1.app - APPLE_MACOSX_SDK: MacOSX12.3 + APPLE_XCODE_APP_NAME: Xcode_16.0.app + APPLE_MACOSX_SDK: MacOSX15.0 run: rm -f /usr/local/lib/libjpeg* ; make apple - name: Upload Apple Artifacts