Skip to content

Commit 6f751bf

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 49c3bcf commit 6f751bf

File tree

1 file changed

+1
-39
lines changed

1 file changed

+1
-39
lines changed

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

Lines changed: 1 addition & 39 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:
@@ -86,40 +82,6 @@ jobs:
8682
###########################
8783
- uses: actions/upload-artifact@v4
8884
with:
89-
name:
90-
Build ${{ matrix.targetPlatform }} on MacOS (${{ matrix.unityVersion }})${{ matrix.buildProfile && ' With
91-
Build Profile' || '' }}
85+
name: Build ${{ matrix.targetPlatform }} on MacOS (${{ matrix.unityVersion }})${{ matrix.buildProfile && ' With Build Profile' || '' }}
9286
path: build
9387
retention-days: 14
94-
95-
markUnstableBuilds:
96-
name: Mark unstable macOS builds
97-
needs: buildForAllPlatformsMacOS
98-
if: always()
99-
runs-on: ubuntu-latest
100-
steps:
101-
- uses: actions/github-script@v7
102-
with:
103-
script: |
104-
const { data: checkRuns } = await github.rest.checks.listForRef({
105-
owner: context.repo.owner,
106-
repo: context.repo.repo,
107-
ref: context.sha,
108-
per_page: 100,
109-
});
110-
111-
for (const run of checkRuns.check_runs) {
112-
if (run.conclusion !== 'failure' || run.app?.slug !== 'github-actions') continue;
113-
if (!run.name.includes('StandaloneOSX') && !run.name.includes('iOS')) continue;
114-
115-
await github.rest.checks.update({
116-
owner: context.repo.owner,
117-
repo: context.repo.repo,
118-
check_run_id: run.id,
119-
conclusion: 'neutral',
120-
output: {
121-
title: `${run.name} (unstable)`,
122-
summary: 'This macOS build is unstable and its failure does not block merging.',
123-
},
124-
});
125-
}

0 commit comments

Comments
 (0)