Skip to content

Commit 700e401

Browse files
committed
revert openssl 1.1
1 parent be97501 commit 700e401

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

.github/workflows/build-mac-m1.yml

+6-11
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,6 @@ on:
77
# - v*
88

99

10-
# OpenSSL
11-
# Instead of downloading binaries from somewhere, it is better to use Homebrew to install OpenSSL.
12-
# - name: Install OpenSSL
13-
# run: |
14-
# wget https://mac.r-project.org/bin/darwin20/arm64/openssl-1.1.1o-darwin.20-arm64.tar.xz
15-
# tar -xf openssl-1.1.1o-darwin.20-arm64.tar.xz -C /tmp
16-
# rm -rf openssl-1.1.1o-darwin.20-arm64.tar.xz
17-
18-
19-
2010
env:
2111
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
2212

@@ -30,7 +20,10 @@ jobs:
3020
steps:
3121
- uses: actions/checkout@v4
3222
- name: Install OpenSSL
33-
run: HOMEBREW_NO_INSTALL_CLEANUP=1 brew reinstall openssl@3
23+
run: |
24+
wget https://mac.r-project.org/bin/darwin20/arm64/openssl-1.1.1t-darwin.20-arm64.tar.xz
25+
tar -xf openssl-1.1.1t-darwin.20-arm64.tar.xz -C /tmp
26+
rm -rf openssl-1.1.1t-darwin.20-arm64.tar.xz
3427
- name: Use Node.js ${{ matrix.node-version }}
3528
uses: actions/setup-node@v4
3629
with:
@@ -41,3 +34,5 @@ jobs:
4134
node_modules/.bin/prebuild -r napi --backend cmake-js --arch arm64 --upload -u ${{ secrets.GITHUB_TOKEN }} -- --CDCMAKE_OSX_ARCHITECTURES="arm64"
4235
env:
4336
CI: true
37+
OPENSSL_ROOT_DIR: /tmp/opt/R/arm64
38+
OPENSSL_LIBRARIES: /tmp/opt/R/arm64/lib

0 commit comments

Comments
 (0)