Merge pull request #168338 from Homebrew/cache-fix

workflow/cache: fix gem install; support macOS 14
This commit is contained in:
Bo Anderson
2024-03-06 05:15:07 +00:00
committed by GitHub
+3 -3
View File
@@ -16,13 +16,14 @@ permissions:
jobs:
update:
if: startsWith(github.repository, 'Homebrew/')
if: github.repository_owner == 'Homebrew'
strategy:
matrix:
runner:
- macos-11
- macos-12
- macos-13
- macos-14
- ubuntu-latest
runs-on: ${{ matrix.runner }}
steps:
@@ -44,5 +45,4 @@ jobs:
- name: Install Homebrew Gems
id: gems
run: brew install-bundler-gems
if: steps.cache.outputs.cache-hit != 'true'
run: brew install-bundler-gems --groups=audit,bootsnap,style