From d5fe08a5d965f7e6a65a646d4655e45ee00db7a8 Mon Sep 17 00:00:00 2001 From: Torben Ewert Date: Sun, 14 Jul 2024 17:57:42 +0200 Subject: [PATCH] ci: ... --- .github/workflows/publish-npm.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-npm.yml b/.github/workflows/publish-npm.yml index 9c8f2a1..6015ad8 100644 --- a/.github/workflows/publish-npm.yml +++ b/.github/workflows/publish-npm.yml @@ -61,15 +61,6 @@ jobs: - 5.2.x runs-on: ${{ matrix.os }} steps: - - name: Setup OpenSSL (macOS) - if: matrix.os == 'macOS-latest' - run: | - brew install openssl - ls -l /opt/homebrew/opt/openssl@3/include - echo "LDFLAGS=\"-L/opt/homebrew/opt/openssl@3/lib\"" >> $GITHUB_ENV - echo "CPPFLAGS=\"-I/opt/homebrew/opt/openssl@3/include\"" >> $GITHUB_ENV - echo "PKG_CONFIG_PATH=\"/opt/homebrew/opt/openssl@3/lib/pkgconfig\"" >> $GITHUB_ENV - - name: Checkout code uses: actions/checkout@v4 @@ -80,6 +71,11 @@ jobs: - name: Install dependencies run: | + brew install openssl@3 + ls -l /opt/homebrew/opt/openssl@3/include/openssl + export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib" + export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include" + export PKG_CONFIG_PATH="/opt/homebrew/opt/openssl@3/lib/pkgconfig" env opam install . --locked --deps-only --with-test --yes