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

Commit 04e04a7

Browse files
try powershell
1 parent 614c366 commit 04e04a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

build/build.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ jobs:
5353
displayName: Use production AI key
5454
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
5555
- ${{ if parameters.prerelease }}:
56-
- script: |
57-
set NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
56+
- pwsh: |
57+
$env:NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
5858
node build/package.js --pre-release
5959
displayName: Build and pack extension
6060
- ${{ else }}:
61-
- script: |
62-
set NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
61+
- pwsh: |
62+
$env:NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
6363
node build/package.js
6464
displayName: Build and pack extension
6565
- pwsh: |

0 commit comments

Comments
 (0)