Commit 1f33521 1 parent 9985e9d commit 1f33521 Copy full SHA for 1f33521
File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Test Brew Install
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ pull_request :
9
+ branches :
10
+ - master
11
+
12
+ jobs :
13
+ test :
14
+ strategy :
15
+ matrix :
16
+ os : [ubuntu-latest, macos-latest]
17
+
18
+ runs-on : ${{ matrix.os }}
19
+
20
+ steps :
21
+ - name : Checkout Code
22
+ uses : actions/checkout@v4
23
+
24
+ - name : Set up Homebrew
25
+ uses : Homebrew/actions/setup-homebrew@master
26
+
27
+ - name : Add Homebrew tap
28
+ run : |
29
+ if [[ "${{ github.event_name }}" == "pull_request" ]]; then
30
+ ln -Fs "$(pwd)" "$(brew --repository)/Library/Taps/$GITHUB_REPOSITORY"
31
+ fi
32
+
33
+ - name : Install binaries
34
+ run : |
35
+ brew install meroctl
36
+ brew install merod
37
+
38
+ - name : Validate binaries installation
39
+ run : |
40
+ which meroctl
41
+ meroctl --version
42
+ which merod
43
+ merod --version
You can’t perform that action at this time.
0 commit comments