File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 11name : brew pr-pull
2+
23on :
34 pull_request_target :
45 types :
56 - labeled
7+
68jobs :
79 pr-pull :
810 if : contains(github.event.pull_request.labels.*.name, 'pr-pull')
911 runs-on : ubuntu-22.04
1012 permissions :
1113 contents : write
12- packages : none
1314 pull-requests : write
1415 steps :
1516 - name : Set up Homebrew
2122 - name : Pull bottles
2223 env :
2324 HOMEBREW_GITHUB_API_TOKEN : ${{ github.token }}
24- HOMEBREW_GITHUB_PACKAGES_TOKEN : ${{ github.token }}
25- HOMEBREW_GITHUB_PACKAGES_USER : ${{ github.actor }}
2625 PULL_REQUEST : ${{ github.event.pull_request.number }}
27- run : brew pr-pull --debug --tap=$GITHUB_REPOSITORY $PULL_REQUEST
26+ run : brew pr-pull --debug --tap=" $GITHUB_REPOSITORY" " $PULL_REQUEST"
2827
2928 - name : Push commits
3029 uses : Homebrew/actions/git-try-push@master
3635 if : github.event.pull_request.head.repo.fork == false
3736 env :
3837 BRANCH : ${{ github.event.pull_request.head.ref }}
39- run : git push --delete origin $BRANCH
38+ run : git push --delete origin " $BRANCH"
Original file line number Diff line number Diff line change 11name : brew test-bot
2+
23on :
34 push :
45 branches :
56 - main
67 pull_request :
8+
79jobs :
810 test-bot :
911 strategy :
1012 matrix :
11- os : [ubuntu-22.04, macos-14, macos- 13, macos-12 ]
13+ os : [ubuntu-22.04, macos-13, macos-14 ]
1214 runs-on : ${{ matrix.os }}
1315 steps :
1416 - name : Set up Homebrew
1517 id : set-up-homebrew
1618 uses : Homebrew/actions/setup-homebrew@master
1719
1820 - name : Cache Homebrew Bundler RubyGems
19- id : cache
2021 uses : actions/cache@v4
2122 with :
2223 path : ${{ steps.set-up-homebrew.outputs.gems-path }}
23- key : ${{ runner .os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
24- restore-keys : ${{ runner .os }}-rubygems-
24+ key : ${{ matrix .os }}-rubygems-${{ steps.set-up-homebrew.outputs.gems-hash }}
25+ restore-keys : ${{ matrix .os }}-rubygems-
2526
2627 - run : brew test-bot --only-cleanup-before
2728
3435
3536 - name : Upload bottles as artifact
3637 if : always() && github.event_name == 'pull_request'
37- uses : actions/upload-artifact@v3
38+ uses : actions/upload-artifact@v4
3839 with :
39- name : bottles
40+ name : bottles_${{ matrix.os }}
4041 path : ' *.bottle.*'
You can’t perform that action at this time.
0 commit comments