actions / runner-images

GitHub Actions runner images
MIT License
9.13k stars 2.82k forks source link

Microsoft Edge is missing in macOS-14-arm64 #9734

Closed mxschmitt closed 1 week ago

mxschmitt commented 1 week ago

Description

Microsoft Edge should be installed as per here. But it seems missing since a recent macOS-14 update.

Downstream issue: https://github.com/microsoft/playwright-dotnet/issues/2920

From our user:

This behaviour appears to have emerged for my repositories in the last ~16 hours with the macos-latest runner images moving from macOS 12 to macOS 14.

Platforms affected

Runner images affected

Image version and build link

Image: macos-14-arm64 Version: 20240415.6

Is it regression?

yes

Expected behavior

It's installed.

Actual behavior

It's not installed.

Repro steps

name: test
on:
  push:
    branches:
      - main
jobs:
  test:
    name: test
    strategy:
      matrix:
        runs-on: [macos-12, macos-13, macos-14]
    runs-on: ${{ matrix.runs-on }}
    steps:
    - uses: actions/checkout@v4
    - run: ls -la "/Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge"

Expected: Edge installed across the macOS versions. Actual: It's not available on macOS 14.

Alexey-Ayupov commented 1 week ago

Hello @mxschmitt, the Microsoft Edge was newer installed in macOS 14 Arm64 image. We will check the possibility to install it.

mxschmitt commented 1 week ago

I see, so this is because macos-latest changed to macos-14-arm64 recently. Thanks for verifying that!

(Playwright users have a workaround for now from our side to install it manually via the CLI - so not blocking)

martincostello commented 1 week ago

As a user, I was using macos-latest and the change from v12 to v14 broke me, so would definitely be useful to install as I'm sure others will find the same problem suddenly occurring as the rollout continues.

leighmcculloch commented 1 week ago

this is because macos-latest changed to macos-14-arm64 recently

This seems like a bug because the GitHub Actions Docs still say macos-latest maps to macos-14. Also, requesting macos-14 explicitly is causing macos-14-arm64 images to be used. Opened an issue here about that:

mikhailkoliada commented 1 week ago

Transferring to discussion right now, as we are unlikely to install it on m1 runners

  1. cask is not available in homebrew
  2. to get a downloading link you have to accept EULA (or EULA-like) manually, I doubt that distribution without direct acceptance by the end customer is possible here.

I'll reach out to legal and see what we can do here.