Skip to content

Commit

Permalink
openssl legacy option for build action error macos and divided build …
Browse files Browse the repository at this point in the history
…actions
  • Loading branch information
PandoraQS committed Sep 14, 2024
1 parent 66a318b commit c25bce5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,15 @@ jobs:
run: npm install -g gulp
if: startsWith(matrix.os, 'mac')

- name: Build
run: gulp prep-pkg
- name: Build on macOS ARM64
if: runner.os == 'macOS' && runner.arch == 'ARM64'
run: |
export NODE_OPTIONS=--openssl-legacy-provider
gulp prep-pkg
- name: Build on Other OS
run: gulp prep-pkg

- name: Package Win/Linux
run: npm run dist
if: startsWith(matrix.os, 'win') || startsWith(matrix.os, 'ubuntu')
Expand Down

0 comments on commit c25bce5

Please sign in to comment.