From fdb1cb59da7f4b6ea13fd50c41ee91dc836e282a Mon Sep 17 00:00:00 2001 From: Douglas Camata <159076+douglascamata@users.noreply.github.com> Date: Thu, 14 Mar 2024 00:30:12 +0100 Subject: [PATCH] One more attempt at fixing Python Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> --- action.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/action.yml b/action.yml index 2169d83..1a71e5e 100644 --- a/action.yml +++ b/action.yml @@ -88,6 +88,15 @@ runs: install colima-$(uname)-$(uname -m) /usr/local/bin/colima echo "::endgroup::" shell: bash + - name: Workaround for Python conflicts in GHA Runners + env: + HOMEBREW_NO_AUTO_UPDATE: "1" + HOMEBREW_NO_INSTALL_UPGRADE: "1" + HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: "1" + run: | + brew install python@3 || true + brew link --overwrite python@3 + shell: bash - name: Install QEMU, Docker client, and Docker Compose env: HOMEBREW_NO_AUTO_UPDATE: "1"