From db41d260af39267e2de8133f07bcabc2e96a7ffd Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Fri, 15 Jan 2021 22:50:46 -0800 Subject: [PATCH] Fix github action brew link issue --- .github/workflows/deploying.yml | 3 ++- .github/workflows/testing.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploying.yml b/.github/workflows/deploying.yml index 648f5e4..57581bd 100644 --- a/.github/workflows/deploying.yml +++ b/.github/workflows/deploying.yml @@ -15,7 +15,8 @@ jobs: - uses: actions/checkout@v2 - name: Installing packages run: | - brew install libtool automake cmake carthage go@1.14 swiftlint swiftformat openssl libssh2 + brew install libtool automake cmake carthage go@1.14 swiftformat openssl libssh2 + brew install swiftlint || brew link --overwrite swiftlint gem install bundler - uses: actions/cache@v2 with: diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 8b866d5..6e01ba0 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -9,7 +9,8 @@ jobs: - uses: actions/checkout@v2 - name: Installing packages run: | - brew install libtool automake cmake carthage go@1.14 swiftlint swiftformat openssl libssh2 + brew install libtool automake cmake carthage go@1.14 swiftformat openssl libssh2 + brew install swiftlint || brew link --overwrite swiftlint gem install bundler - uses: actions/cache@v2 with: