Fallback more macos-arm-oss jobs to macos-14
A follow-up on https://github.com/ruby/ruby/pull/10074
This commit is contained in:
parent
a154ea0c91
commit
f403660805
9
.github/workflows/yjit-macos.yml
vendored
9
.github/workflows/yjit-macos.yml
vendored
@ -64,11 +64,10 @@ jobs:
|
|||||||
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
|
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
|
||||||
RUN_OPTS: ${{ matrix.yjit_opts }}
|
RUN_OPTS: ${{ matrix.yjit_opts }}
|
||||||
|
|
||||||
runs-on: macos-arm-oss
|
runs-on: ${{ github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14' }}
|
||||||
|
|
||||||
if: >-
|
if: >-
|
||||||
${{github.repository == 'ruby/ruby' &&
|
${{!(false
|
||||||
!(false
|
|
||||||
|| contains(github.event.head_commit.message, '[DOC]')
|
|| contains(github.event.head_commit.message, '[DOC]')
|
||||||
|| contains(github.event.pull_request.title, '[DOC]')
|
|| contains(github.event.pull_request.title, '[DOC]')
|
||||||
|| contains(github.event.pull_request.labels.*.name, 'Documentation')
|
|| contains(github.event.pull_request.labels.*.name, 'Documentation')
|
||||||
@ -136,9 +135,9 @@ jobs:
|
|||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
|
|
||||||
result:
|
result:
|
||||||
if: ${{ always() && github.repository == 'ruby/ruby' }}
|
if: ${{ always() }}
|
||||||
name: ${{ github.workflow }} result
|
name: ${{ github.workflow }} result
|
||||||
runs-on: macos-arm-oss
|
runs-on: ${{ github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14' }}
|
||||||
needs: [make]
|
needs: [make]
|
||||||
steps:
|
steps:
|
||||||
- run: exit 1
|
- run: exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user