Trying to fix broken homebrew...

This commit is contained in:
Martin Tůma 2024-06-14 19:37:07 +02:00
parent 5ed06f90b7
commit 549eb18ec6

View File

@ -15,7 +15,11 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: brew install qt@5 protobuf@21 run: |
brew update
brew install qt@5 protobuf@21
brew link --force protobuf@21
brew link --force qt@5
- name: Configure build - name: Configure build
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
- name: Build project - name: Build project
@ -30,7 +34,10 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Install dependencies - name: Install dependencies
run: brew install qt@6 protobuf@21 run: |
brew update
brew install qt@6 protobuf@21
brew link --force protobuf@21
- name: Configure build - name: Configure build
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
- name: Build project - name: Build project