diff options
| author | Takashi Kokubun <takashikkbn@gmail.com> | 2023-10-16 09:18:51 -0700 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2023-10-16 09:20:21 -0700 |
| commit | 8f33d801c21c01fb15abed6cabd4d4b289554de3 (patch) | |
| tree | b4d844f71c9bed563337bca4c98b5467a2f805e4 | |
| parent | 5b5643ae8b4ee1cbdbfecee3a9e994b7441dad95 (diff) | |
Just skip the job if not on ruby/ruby
Using the same `runs-os` across all jobs in the same workflow makes it
more likely to pass in case one of these runners is experiencing an
outage.
macos-arm-oss is generally not available outside ruby/ruby, so it's
fair to skip it for forks.
| -rw-r--r-- | .github/workflows/yjit-macos.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/yjit-macos.yml b/.github/workflows/yjit-macos.yml index e936e02690..1f244fd9e4 100644 --- a/.github/workflows/yjit-macos.yml +++ b/.github/workflows/yjit-macos.yml @@ -108,9 +108,9 @@ jobs: if: ${{ failure() }} result: - if: ${{ always() }} + if: ${{ always() && github.repository == 'ruby/ruby' }} name: ${{ github.workflow }} result - runs-on: ubuntu-latest + runs-on: macos-arm-oss needs: [make] steps: - run: exit 1 |
