From 25b6450d23cab214194afb40f6b0e8a8093eaa4d Mon Sep 17 00:00:00 2001 From: Andriy Redko Date: Thu, 5 Sep 2024 09:45:48 -0400 Subject: [PATCH] Fix MacOS assemble workflows Signed-off-by: Andriy Redko --- .github/workflows/assemble.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/assemble.yml b/.github/workflows/assemble.yml index 200d9cf2d788b..0c61100f6e3b3 100644 --- a/.github/workflows/assemble.yml +++ b/.github/workflows/assemble.yml @@ -27,13 +27,19 @@ jobs: shell: bash run: | echo "JAVA${{ matrix.java }}_HOME=$JAVA_HOME_${{ matrix.java }}_${{ runner.arch }}" >> $GITHUB_ENV + - name: Setup QEMU (missing on MacOS) + if: runner.os == 'macos' + run: | + curl -o qemu.rb https://raw.githubusercontent.com/Homebrew/homebrew-core/981c602eb04116f608f7209c750feb62a9e263dd/Formula/q/qemu.rb + brew install -s qemu.rb - name: Setup docker (missing on MacOS) id: setup_docker if: runner.os == 'macos' uses: douglascamata/setup-docker-macos-action@main continue-on-error: true with: - upgrade-qemu: true + upgrade-qemu: false + lima: v0.23.2 colima: v0.6.8 - name: Run Gradle (assemble) if: runner.os == 'macos' && steps.setup_docker.outcome != 'success'