File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,11 @@ jobs:
17
17
node-version : [16.x]
18
18
19
19
steps :
20
- - uses : actions/checkout@v3
20
+ - uses : actions/checkout@v4
21
21
- name : Install OpenSSL
22
- run : |
23
- wget https://mac.r-project.org/bin/darwin20/arm64/openssl-1.1.1o-darwin.20-arm64.tar.xz
24
- tar -xf openssl-1.1.1o-darwin.20-arm64.tar.xz -C /tmp
25
- rm -rf openssl-1.1.1o-darwin.20-arm64.tar.xz
22
+ run : HOMEBREW_NO_INSTALL_CLEANUP=1 brew reinstall openssl@1.1
26
23
- name : Use Node.js ${{ matrix.node-version }}
27
- uses : actions/setup-node@v3
24
+ uses : actions/setup-node@v4
28
25
with :
29
26
node-version : ${{ matrix.node-version }}
30
27
- name : Build
33
30
node_modules/.bin/prebuild -r napi --backend cmake-js --arch arm64 --upload -u ${{ secrets.GITHUB_TOKEN }} -- --CDCMAKE_OSX_ARCHITECTURES="arm64"
34
31
env :
35
32
CI : true
36
- OPENSSL_ROOT_DIR : /tmp/ opt/R/arm64
37
- OPENSSL_LIBRARIES : /tmp/ opt/R/arm64 /lib
33
+ OPENSSL_ROOT_DIR : /opt/homebrew/opt/openssl
34
+ OPENSSL_LIBRARIES : /opt/homebrew/opt/openssl /lib
You can’t perform that action at this time.
0 commit comments