Skip to content

Commit

Permalink
Merge pull request #72 from Homebrew/ww/fix-python
Browse files Browse the repository at this point in the history
auto-pr: fix broken runner python
  • Loading branch information
woodruffw authored Feb 5, 2024
2 parents 0bdd700 + 936c17c commit 69273b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/auto-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ jobs:
key: ${{ runner.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
restore-keys: ${{ runner.os }}-rubygems-

- name: Fix runner Python
if: runner.os != 'Linux'
run: |
# Workaround GitHub Actions Python issues
# Copied from: https://github.com/Homebrew/brew/blob/6170b6297c61ef0b68814c708eeff2199d8b0d11/.github/workflows/tests.yml#L353
brew unlink python && brew link --overwrite python
- name: Install Homebrew Bundler RubyGems
if: steps.cache.outputs.cache-hit != 'true'
run: brew install-bundler-gems --groups=all
Expand Down

0 comments on commit 69273b2

Please sign in to comment.