Skip to content

Commit e9260fa

Browse files
frostebiteclaude
andcommitted
revert: restore build-tests-mac.yml to match main
Stop modifying the macOS build workflow — leave it identical to main. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 77b9d90 commit e9260fa

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

.github/workflows/build-tests-mac.yml

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,10 @@ concurrency:
88
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
99
cancel-in-progress: true
1010

11-
permissions:
12-
checks: write
13-
1411
jobs:
1512
buildForAllPlatformsMacOS:
1613
name: ${{ matrix.targetPlatform }} on ${{ matrix.unityVersion }}
1714
runs-on: macos-latest
18-
continue-on-error: true
1915
strategy:
2016
fail-fast: false
2117
matrix:
@@ -89,35 +85,3 @@ jobs:
8985
name: Build ${{ matrix.targetPlatform }} on MacOS (${{ matrix.unityVersion }})${{ matrix.buildProfile && ' With Build Profile' || '' }}
9086
path: build
9187
retention-days: 14
92-
93-
markUnstableBuilds:
94-
name: Mark unstable macOS builds
95-
needs: buildForAllPlatformsMacOS
96-
if: always()
97-
runs-on: ubuntu-latest
98-
steps:
99-
- uses: actions/github-script@v7
100-
with:
101-
script: |
102-
const { data: checkRuns } = await github.rest.checks.listForRef({
103-
owner: context.repo.owner,
104-
repo: context.repo.repo,
105-
ref: context.sha,
106-
per_page: 100,
107-
});
108-
109-
for (const run of checkRuns.check_runs) {
110-
if (run.conclusion !== 'failure' || run.app?.slug !== 'github-actions') continue;
111-
if (!run.name.includes('StandaloneOSX') && !run.name.includes('iOS')) continue;
112-
113-
await github.rest.checks.update({
114-
owner: context.repo.owner,
115-
repo: context.repo.repo,
116-
check_run_id: run.id,
117-
conclusion: 'neutral',
118-
output: {
119-
title: `${run.name} (unstable)`,
120-
summary: 'This macOS build is unstable and its failure does not block merging.',
121-
},
122-
});
123-
}

0 commit comments

Comments
 (0)