summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-02-22 20:55:31 -0800
committerTakashi Kokubun <[email protected]>2024-02-22 20:55:43 -0800
commitf403660805bafd86d4ff8c56094af8d48f58a24d (patch)
tree3ad7f9e97be50a326d5e58153a4f3180adebe05b
parenta154ea0c91b64cd7fb4d56e7ea6840488a68cb1d (diff)
Fallback more macos-arm-oss jobs to macos-14
A follow-up on https://github.com/ruby/ruby/pull/10074
-rw-r--r--.github/workflows/yjit-macos.yml9
1 files changed, 4 insertions, 5 deletions
diff --git a/.github/workflows/yjit-macos.yml b/.github/workflows/yjit-macos.yml
index de585e558d..2637f9fd23 100644
--- a/.github/workflows/yjit-macos.yml
+++ b/.github/workflows/yjit-macos.yml
@@ -64,11 +64,10 @@ jobs:
GITPULLOPTIONS: --no-tags origin ${{ github.ref }}
RUN_OPTS: ${{ matrix.yjit_opts }}
- runs-on: macos-arm-oss
+ runs-on: ${{ github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14' }}
if: >-
- ${{github.repository == 'ruby/ruby' &&
- !(false
+ ${{!(false
|| contains(github.event.head_commit.message, '[DOC]')
|| contains(github.event.pull_request.title, '[DOC]')
|| contains(github.event.pull_request.labels.*.name, 'Documentation')
@@ -136,9 +135,9 @@ jobs:
if: ${{ failure() }}
result:
- if: ${{ always() && github.repository == 'ruby/ruby' }}
+ if: ${{ always() }}
name: ${{ github.workflow }} result
- runs-on: macos-arm-oss
+ runs-on: ${{ github.repository == 'ruby/ruby' && 'macos-arm-oss' || 'macos-14' }}
needs: [make]
steps:
- run: exit 1