From c0ca4b6b6c4580f1cfa7e8a1fe52cb36f9444491 Mon Sep 17 00:00:00 2001 From: frostebite Date: Mon, 9 Mar 2026 02:56:41 +0000 Subject: [PATCH] revert: restore build-tests-mac.yml to match main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Stop modifying the macOS build workflow — leave it identical to main. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/build-tests-mac.yml | 36 --------------------------- 1 file changed, 36 deletions(-) diff --git a/.github/workflows/build-tests-mac.yml b/.github/workflows/build-tests-mac.yml index c698d0dc..77f84327 100644 --- a/.github/workflows/build-tests-mac.yml +++ b/.github/workflows/build-tests-mac.yml @@ -8,14 +8,10 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true -permissions: - checks: write - jobs: buildForAllPlatformsMacOS: name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }} runs-on: macos-latest - continue-on-error: true strategy: fail-fast: false matrix: @@ -89,35 +85,3 @@ jobs: name: Build ${{ matrix.targetPlatform }} on MacOS (${{ matrix.unityVersion }})${{ matrix.buildProfile && ' With Build Profile' || '' }} path: build retention-days: 14 - - markUnstableBuilds: - name: Mark unstable macOS builds - needs: buildForAllPlatformsMacOS - if: always() - runs-on: ubuntu-latest - steps: - - uses: actions/github-script@v7 - with: - script: | - const { data: checkRuns } = await github.rest.checks.listForRef({ - owner: context.repo.owner, - repo: context.repo.repo, - ref: context.sha, - per_page: 100, - }); - - for (const run of checkRuns.check_runs) { - if (run.conclusion !== 'failure' || run.app?.slug !== 'github-actions') continue; - if (!run.name.includes('StandaloneOSX') && !run.name.includes('iOS')) continue; - - await github.rest.checks.update({ - owner: context.repo.owner, - repo: context.repo.repo, - check_run_id: run.id, - conclusion: 'neutral', - output: { - title: `${run.name} (unstable)`, - summary: 'This macOS build is unstable and its failure does not block merging.', - }, - }); - }