Skip to content

Commit 87caf5b

Browse files
committed
avoid mkdir: /usr/local/lib: Permission denied in macOS-14 runner
1 parent b8663dc commit 87caf5b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
- name: Install danger-js
122122
run: brew install danger/tap/danger-js
123123

124-
- run: make install
124+
- run: make install PREFIX='/opt/homebrew'
125125

126126
- run: mkdir DangerTestWithDependencies && mv DangerfileWithDependencies.swift DangerTestWithDependencies/Dangerfile.swift
127127

@@ -201,7 +201,7 @@ jobs:
201201
- name: Install danger-js
202202
run: brew install danger/tap/danger-js
203203

204-
- run: sudo make install
204+
- run: make install
205205

206206
- run: danger-swift ci --verbose --failOnErrors
207207
if: ${{ github.event_name == 'pull_request' }}
@@ -240,7 +240,7 @@ jobs:
240240
- name: Install danger-js
241241
run: brew install danger/tap/danger-js
242242

243-
- run: make install
243+
- run: make install PREFIX='/opt/homebrew'
244244

245245
- run: danger-swift ci --verbose --failOnErrors
246246
if: ${{ github.event_name == 'pull_request' }}

0 commit comments

Comments
 (0)