File tree 3 files changed +8
-15
lines changed
3 files changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,13 @@ permissions:
9
9
env :
10
10
HOMEBREW_DEVELOPER : 1
11
11
HOMEBREW_NO_AUTO_UPDATE : 1
12
- HOMEBREW_CHANGE_ARCH_TO_ARM : 1
13
12
14
13
jobs :
15
14
build :
16
15
strategy :
17
16
matrix :
18
17
include :
19
- - os : ' 10.11-cross-${{github.run_id}}-${{github.run_attempt}} '
18
+ - os : ' 10.11-cross-${{github.run_id}}'
20
19
- os : ' 11-arm64'
21
20
- os : ' ubuntu-latest'
22
21
container :
30
29
run :
31
30
working-directory : ${{matrix.workdir || github.workspace}}
32
31
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
-
38
32
- name : Set up Homebrew
39
33
uses : Homebrew/actions/setup-homebrew@master
40
34
Original file line number Diff line number Diff line change 8
8
HOMEBREW_NO_AUTO_UPDATE : 1
9
9
10
10
permissions :
11
- contents : write
12
- packages : write
11
+ contents : read
13
12
14
13
jobs :
15
14
determine-tag :
@@ -47,17 +46,20 @@ jobs:
47
46
runs-on : ubuntu-latest
48
47
env :
49
48
TAG : ${{ needs.determine-tag.outputs.tag }}
49
+ permissions :
50
+ contents : write
51
+ packages : write
50
52
steps :
51
53
- name : Set up Homebrew
52
54
uses : Homebrew/actions/setup-homebrew@master
53
55
with :
54
56
test-bot : false
55
57
56
58
- name : Checkout branch
57
- run : git checkout "${{ github.ref_name } }"
59
+ run : git checkout "${GITHUB_REF_NAME }"
58
60
59
61
- name : Install gems
60
- run : brew install-bundler-gems
62
+ run : brew install-bundler-gems --groups=pr_upload
61
63
62
64
- name : Configure Git user
63
65
uses : Homebrew/actions/git-user-config@master
Original file line number Diff line number Diff line change 1
1
name : CI
2
2
3
3
on :
4
- push :
5
- branches :
6
- - master
7
4
pull_request :
8
5
9
6
permissions :
10
7
contents : read
11
8
12
9
concurrency :
13
10
group : " ${{ github.ref }}"
14
- cancel-in-progress : ${{ github.event_name == 'pull_request' }}
11
+ cancel-in-progress : true
15
12
16
13
jobs :
17
14
tests :
You can’t perform that action at this time.
0 commit comments