From 156588bd93618489ab8ea7cbf7c853078e6e55b5 Mon Sep 17 00:00:00 2001 From: Mingshen Sun Date: Fri, 1 Jan 2021 14:13:39 -0800 Subject: [PATCH] Fix openssl libssh2 pkg issue in CI --- .github/workflows/deploying.yml | 4 +++- .github/workflows/testing.yml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploying.yml b/.github/workflows/deploying.yml index 3bb273f..648f5e4 100644 --- a/.github/workflows/deploying.yml +++ b/.github/workflows/deploying.yml @@ -51,7 +51,9 @@ jobs: run: bundle exec pod install - name: Carthage if: steps.carthage-cache.outputs.cache-hit != 'true' - run: ./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds + run: | + export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig/" + ./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds - name: GopenPGP if: steps.gopenpgp-cache.outputs.cache-hit != 'true' run: | diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index 6d0149d..8b866d5 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -45,7 +45,9 @@ jobs: run: bundle exec pod install - name: Carthage if: steps.carthage-cache.outputs.cache-hit != 'true' - run: ./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds + run: | + export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libssh2/lib/pkgconfig/" + ./scripts/wcarthage bootstrap --platform iOS --no-use-binaries --cache-builds - name: GopenPGP if: steps.gopenpgp-cache.outputs.cache-hit != 'true' run: |