Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit a5e0103

Browse files
more workarounds
1 parent 84cc311 commit a5e0103

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ jobs:
8181
- name: Build and pack extension
8282
if: ${{ matrix.os != 'windows-latest' }}
8383
run: |
84-
export NODE_OPTIONS="--no-experimental-fetch"
84+
export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"
8585
node build/package.js
8686
- name: Build and pack extension
8787
if: ${{ matrix.os == 'windows-latest' }}
8888
run: |
89-
$env:NODE_OPTIONS="--no-experimental-fetch"
89+
$env:NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"
9090
node build/package.js
9191
- name: Publish extension VSIX as artifact
9292
uses: actions/upload-artifact@v2

build/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
displayName: Use Node 18.x
3131
inputs:
3232
versionSpec: 18.x
33+
- script: python3 -m pip install setuptools wheel
34+
displayName: Install Python dependencies
3335
- ${{ if parameters.prerelease }}:
3436
- pwsh: node -e "p=require('./package.json');p.version=p.version.replace(/\.\d+$/,'.'+$(Build.BuildNumber));require('fs').writeFileSync('./package.json',JSON.stringify(p,undefined,2))"
3537
- script: npm install --global gulp node-gyp @vscode/vsce
@@ -50,12 +52,12 @@ jobs:
5052
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
5153
- ${{ if parameters.prerelease }}:
5254
- script: |
53-
$env:NODE_OPTIONS = "--no-experimental-fetch"
55+
$env:NODE_OPTIONS = "--openssl-legacy-provider --no-experimental-fetch"
5456
node build/package.js --pre-release
5557
displayName: Build and pack extension
5658
- ${{ else }}:
5759
- script: |
58-
$env:NODE_OPTIONS = "--no-experimental-fetch"
60+
$env:NODE_OPTIONS = "--openssl-legacy-provider --no-experimental-fetch"
5961
node build/package.js
6062
displayName: Build and pack extension
6163
- pwsh: |

0 commit comments

Comments
 (0)