Skip to content

Commit f45fa47

Browse files
committed
Fix Homebrew CI: use local tap for formula installation
- Create temporary local tap (mflowcode/test) to satisfy Homebrew's tap requirement - Copy formula to tap before installation - This works around Homebrew rejecting direct file path installations
1 parent d305435 commit f45fa47

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/homebrew.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,14 @@ jobs:
4444
4545
- name: Install MFC from formula
4646
run: |
47-
echo "Installing MFC from local formula..."
48-
brew install --build-from-source --verbose ./packaging/homebrew/mfc.rb
47+
echo "Creating temporary local tap..."
48+
brew tap-new mflowcode/test
49+
50+
echo "Copying formula to tap..."
51+
cp packaging/homebrew/mfc.rb $(brew --repository)/Library/Taps/mflowcode/homebrew-test/Formula/mfc.rb
52+
53+
echo "Installing MFC from local tap..."
54+
brew install --build-from-source --verbose mflowcode/test/mfc
4955
5056
- name: Run formula tests
5157
run: |

0 commit comments

Comments
 (0)