mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-26 22:26:08 +08:00
8b84506b77
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
18 lines
583 B
YAML
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
|