diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b505a38..18ebb53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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