actions-toolkit/.github/actions/macos-setup-qemu/action.yml
CrazyMax 8b84506b77
ci(test): enforce QEMU 9.0.2
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-10-04 14:34:03 +02:00

18 lines
583 B
YAML

name: 'Setup QEMU on macOS'
description: 'Set up QEMU on macOS runners'
# FIXME: Remove this composite once QEMU issue is fixed on macOS runners
# https://github.com/docker/actions-toolkit/issues/455
runs:
using: composite
steps:
- run: |
set -ex
brew uninstall --ignore-dependencies qemu || true
brew autoremove || true
curl -o /tmp/qemu.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/f1a9cf104a9a51779c7a532b658c490f69974839/Formula/q/qemu.rb
brew install /tmp/qemu.rb
continue-on-error: true
shell: bash