Skip to content

Commit

Permalink
Fix Python in Github Action runner images (#34)
Browse files Browse the repository at this point in the history
Related to #31.
  • Loading branch information
douglascamata committed Mar 14, 2024
1 parent eee8cf7 commit 33c1247
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning].

## [unreleased]

### Fixed

- Added workaround for Python conflict in Github Action runner images ([34](https://github.com/douglascamata/setup-docker-macos-action/pull/34))

## [v1-alpha.12] - 2024-02-01

### Added
Expand Down
10 changes: 10 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,16 @@ 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 unlink python@3 || true
brew uninstall --ignore-dependencies python@3 || true
brew install --overwrite --force python@3
shell: bash
- name: Install QEMU, Docker client, and Docker Compose
env:
HOMEBREW_NO_AUTO_UPDATE: "1"
Expand Down

0 comments on commit 33c1247

Please sign in to comment.