-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (27 loc) · 829 Bytes
/
test.yml
File metadata and controls
34 lines (27 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Test Homebrew Formula
on:
push:
branches: master
jobs:
test-formula:
runs-on: macos-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install dependencies
run: |
brew tap FastTrackOrg/fasttrack
brew install fasttrack
- name: Check GUI app exists
run: |
if [ ! -d "$(brew --prefix)/opt/fasttrack/libexec/fasttrack.app" ]; then
echo "fasttrack.app not found!" >&2
exit 1
fi
- name: Run CLI binary to verify install
run: |
fasttrack --cli --help
- name: Symlink
run: |
ln -s "$(brew --prefix)/opt/fasttrack/libexec/fasttrack.app" /Applications/FastTrack.app
[ -L /Applications/FastTrack.app ] && echo "Symlink created"