diff --git a/.github/actions/universal-package/action.yml b/.github/actions/universal-package/action.yml index f93253900d..f08f63b0cf 100644 --- a/.github/actions/universal-package/action.yml +++ b/.github/actions/universal-package/action.yml @@ -33,7 +33,19 @@ runs: # Need to make sure we get the latest before patching. Otherwise Homebrew may later try to get the latest # version and stomp what we have here. - brew cat ${formula} >${formula}.rb + # + # brew cat needs the formula source on disk, which is only reliably the + # case if homebrew/core is tapped locally. Homebrew now defaults to + # using the API without a local tap, so in that case just fetch the + # formula from GitHub directly at the commit the API data refers to. + if brew tap | grep -qx homebrew/core; then + brew cat ${formula} >${formula}.rb + else + formula_json=$(brew info --json=v2 --formula ${formula}) + src_path=$(jq -r '.formulae[0].ruby_source_path' <<<"$formula_json") + git_head=$(jq -r '.formulae[0].tap_git_head' <<<"$formula_json") + curl -fsSL "https://raw.githubusercontent.com/Homebrew/homebrew-core/${git_head}/${src_path}" >${formula}.rb + fi if [[ "${{ inputs.gnuiconv }}" == "true" ]]; then # Modify formula to build using Homebrew libiconv. Usually just adding "depends_on" is enough, but since we diff --git a/.github/workflows/ci-macvim.yaml b/.github/workflows/ci-macvim.yaml index 2aa9b0c337..c7ec5ce85f 100644 --- a/.github/workflows/ci-macvim.yaml +++ b/.github/workflows/ci-macvim.yaml @@ -29,10 +29,11 @@ jobs: skip: ${{ ! startswith(github.ref, 'refs/tags/release') }} legacy: true - - os: macos-14 - xcode: '15.4' - testgui: true - extra: [vimtags, check-xcodeproj-compat] + # Temporarily remove macos-14 as it's not longer supported. Will need to set up newer OS versions and move the extras over. +# - os: macos-14 +# xcode: '15.4' +# testgui: true +# extra: [vimtags, check-xcodeproj-compat] - os: macos-15 xcode: '16.4'