Skip to content

Commit

Permalink
build: add retry to brew install
Browse files Browse the repository at this point in the history
  • Loading branch information
dynobo committed Oct 22, 2023
1 parent 917efff commit dee63aa
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,14 @@ jobs:
- name: Prepare macOS
if: matrix.os == 'macos-12'
run: |
brew install pkg-config tesseract tesseract-lang dylibbundler
brew info tesseract
"/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080
uses: nick-fields/retry@v2 # brew install sometimes fails on macOS
with:
max_attempts: 3
retry_on: error
command: |
brew install pkg-config tesseract tesseract-lang dylibbundler
brew info tesseract
"/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080
- name: Prepare Windows
if: matrix.os == 'windows-2022'
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,14 @@ jobs:
- name: Prepare macOS
if: matrix.os == 'macos-12'
run: |
brew install pkg-config tesseract tesseract-lang dylibbundler
brew info tesseract
"/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080
uses: nick-fields/retry@v2 # brew install sometimes fails on macOS
with:
max_attempts: 3
retry_on: error
command: |
brew install pkg-config tesseract tesseract-lang dylibbundler
brew info tesseract
"/Library/Application Support/VMware Tools/vmware-resolutionSet" 1920 1080
- name: Prepare Windows
if: matrix.os == 'windows-2022'
Expand Down

0 comments on commit dee63aa

Please sign in to comment.