File tree Expand file tree Collapse file tree 3 files changed +97
-0
lines changed
Expand file tree Collapse file tree 3 files changed +97
-0
lines changed Original file line number Diff line number Diff line change 1+ name : brew pr-pull
2+
3+ on :
4+ pull_request_target :
5+ types :
6+ - labeled
7+
8+ jobs :
9+ pr-pull :
10+ if : contains(github.event.pull_request.labels.*.name, 'pr-pull')
11+ runs-on : ubuntu-22.04
12+ permissions :
13+ contents : write
14+ pull-requests : write
15+ steps :
16+ - name : Set up Homebrew
17+ uses : Homebrew/actions/setup-homebrew@master
18+
19+ - name : Set up git
20+ uses : Homebrew/actions/git-user-config@master
21+
22+ - name : Pull bottles
23+ env :
24+ HOMEBREW_GITHUB_API_TOKEN : ${{ github.token }}
25+ PULL_REQUEST : ${{ github.event.pull_request.number }}
26+ run : brew pr-pull --debug --tap="$GITHUB_REPOSITORY" "$PULL_REQUEST"
27+
28+ - name : Push commits
29+ uses : Homebrew/actions/git-try-push@master
30+ with :
31+ token : ${{ github.token }}
32+ branch : master
33+
34+ - name : Delete branch
35+ if : github.event.pull_request.head.repo.fork == false
36+ env :
37+ BRANCH : ${{ github.event.pull_request.head.ref }}
38+ run : git push --delete origin "$BRANCH"
Original file line number Diff line number Diff line change 1+ name : brew test-bot
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ pull_request :
8+
9+ jobs :
10+ test-bot :
11+ strategy :
12+ matrix :
13+ os : [ubuntu-22.04, macos-13, macos-15]
14+ runs-on : ${{ matrix.os }}
15+ steps :
16+ - name : Set up Homebrew
17+ id : set-up-homebrew
18+ uses : Homebrew/actions/setup-homebrew@master
19+
20+ - name : Cache Homebrew Bundler RubyGems
21+ uses : actions/cache@v4
22+ with :
23+ path : ${{ steps.set-up-homebrew.outputs.gems-path }}
24+ key : ${{ matrix.os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
25+ restore-keys : ${{ matrix.os }}-rubygems-
26+
27+ - run : brew test-bot --only-cleanup-before
28+
29+ - run : brew test-bot --only-setup
30+
31+ - run : brew test-bot --only-tap-syntax
32+
33+ - run : brew test-bot --only-formulae
34+ if : github.event_name == 'pull_request'
35+
36+ - name : Upload bottles as artifact
37+ if : always() && github.event_name == 'pull_request'
38+ uses : actions/upload-artifact@v4
39+ with :
40+ name : bottles_${{ matrix.os }}
41+ path : ' *.bottle.*'
Original file line number Diff line number Diff line change 1+ # ProjectM-visualizer Projectm
2+
3+ ## How do I install these formulae?
4+
5+ ` brew install projectm-visualizer/projectm/<formula> `
6+
7+ Or ` brew tap projectm-visualizer/projectm ` and then ` brew install <formula> ` .
8+
9+ Or, in a [ ` brew bundle ` ] ( https://github.com/Homebrew/homebrew-bundle ) ` Brewfile ` :
10+
11+ ``` ruby
12+ tap " projectm-visualizer/projectm"
13+ brew " <formula>"
14+ ```
15+
16+ ## Documentation
17+
18+ ` brew help ` , ` man brew ` or check [ Homebrew's documentation] ( https://docs.brew.sh ) .
You can’t perform that action at this time.
0 commit comments