From c9408bd1f73a17f4ee9e00616f4767c1d06fb092 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 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/assemble.yml b/.github/workflows/assemble.yml index 200d9cf2d788b..71a9f420427b7 100644 --- a/.github/workflows/assemble.yml +++ b/.github/workflows/assemble.yml @@ -27,13 +27,18 @@ 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/f1a9cf104a9a51779c7a532b658c490f69974839/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 colima: v0.6.8 - name: Run Gradle (assemble) if: runner.os == 'macos' && steps.setup_docker.outcome != 'success'