Skip to content

Commit

Permalink
change how node options are used
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontesque committed Feb 29, 2024
1 parent e79a342 commit 5df426b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,13 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
env:
NODE_OPTIONS: "--openssl-legacy-provider"
- name: Install dependencies
run: npm i
working-directory: app
- name: Build
run: set NODE_OPTIONS=--openssl-legacy-provider && npm run electron:build
run: npm run electron:build
working-directory: app
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand All @@ -40,11 +42,13 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
env:
NODE_OPTIONS: "--openssl-legacy-provider"
- name: Install dependencies
run: npm i
working-directory: app
- name: Build
run: export NODE_OPTIONS=--openssl-legacy-provider && npm run electron:build
run: npm run electron:build
working-directory: app
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5df426b

Please sign in to comment.