This repository was archived by the owner on Sep 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Expand file tree Collapse file tree 3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,13 @@ permissions:
99env :
1010 HOMEBREW_DEVELOPER : 1
1111 HOMEBREW_NO_AUTO_UPDATE : 1
12- HOMEBREW_CHANGE_ARCH_TO_ARM : 1
1312
1413jobs :
1514 build :
1615 strategy :
1716 matrix :
1817 include :
19- - os : ' 10.11-cross-${{github.run_id}}-${{github.run_attempt}} '
18+ - os : ' 10.11-cross-${{github.run_id}}'
2019 - os : ' 11-arm64'
2120 - os : ' ubuntu-latest'
2221 container :
3029 run :
3130 working-directory : ${{matrix.workdir || github.workspace}}
3231 steps :
33- - name : Set environment variables
34- if : runner.os == 'macOS'
35- run : |
36- echo 'PATH=/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin' >> $GITHUB_ENV
37-
3832 - name : Set up Homebrew
3933 uses : Homebrew/actions/setup-homebrew@master
4034
Original file line number Diff line number Diff line change 88 HOMEBREW_NO_AUTO_UPDATE : 1
99
1010permissions :
11- contents : write
12- packages : write
11+ contents : read
1312
1413jobs :
1514 determine-tag :
@@ -47,17 +46,20 @@ jobs:
4746 runs-on : ubuntu-latest
4847 env :
4948 TAG : ${{ needs.determine-tag.outputs.tag }}
49+ permissions :
50+ contents : write
51+ packages : write
5052 steps :
5153 - name : Set up Homebrew
5254 uses : Homebrew/actions/setup-homebrew@master
5355 with :
5456 test-bot : false
5557
5658 - name : Checkout branch
57- run : git checkout "${{ github.ref_name } }"
59+ run : git checkout "${GITHUB_REF_NAME }"
5860
5961 - name : Install gems
60- run : brew install-bundler-gems
62+ run : brew install-bundler-gems --groups=pr_upload
6163
6264 - name : Configure Git user
6365 uses : Homebrew/actions/git-user-config@master
Original file line number Diff line number Diff line change 11name : CI
22
33on :
4- push :
5- branches :
6- - master
74 pull_request :
85
96permissions :
107 contents : read
118
129concurrency :
1310 group : " ${{ github.ref }}"
14- cancel-in-progress : ${{ github.event_name == 'pull_request' }}
11+ cancel-in-progress : true
1512
1613jobs :
1714 tests :
You can’t perform that action at this time.
0 commit comments