Skip to content

Commit

Permalink
Fix MacOS assemble workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Sep 5, 2024
1 parent 1935650 commit 25b6450
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/assemble.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 25b6450

Please sign in to comment.