Skip to content

Commit

Permalink
getting really tired of messing with node_options
Browse files Browse the repository at this point in the history
  • Loading branch information
Frontesque committed Feb 29, 2024
1 parent 218f2f5 commit 98b29e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- run: echo 'NODE_OPTIONS="--openssl-legacy-provider"' >> $GITHUB_ENV
- name: Install dependencies
run: npm i
working-directory: app
- name: Build
run: npm run electron:build
working-directory: app
env:
NODE_OPTIONS: "--openssl-legacy-provider"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand All @@ -41,13 +42,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- run: echo 'NODE_OPTIONS="--openssl-legacy-provider"' >> $GITHUB_ENV
- name: Install dependencies
run: npm i
working-directory: app
- name: Build
run: npm run electron:build
working-directory: app
env:
NODE_OPTIONS: "--openssl-legacy-provider"
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 98b29e3

Please sign in to comment.