From 7390f7dd33e28eaffa5705637a8550b5727a18e2 Mon Sep 17 00:00:00 2001 From: 417-72KI <417.72ki@gmail.com> Date: Sun, 1 Sep 2024 12:17:41 +0900 Subject: [PATCH] avoid `mkdir: /usr/local/lib: Permission denied` --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d680d8a9..679efcb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,7 +87,7 @@ jobs: env: DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer # Avoid Homebrew installation error - - run: make install + - run: sudo make install - run: mkdir DangerTestWithDependencies && mv DangerfileWithDependencies.swift DangerTestWithDependencies/Dangerfile.swift @@ -169,7 +169,7 @@ jobs: env: DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer # Avoid Homebrew installation error - - run: make install + - run: sudo make install - run: danger-swift ci --verbose --failOnErrors if: ${{ github.event_name == 'pull_request' }} @@ -210,7 +210,7 @@ jobs: - run: sudo chmod -R a+rwx /usr/local - - run: make install + - run: sudo make install - run: danger-swift ci --verbose --failOnErrors if: ${{ github.event_name == 'pull_request' }}