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

Commit c88508d

Browse files
Merge pull request #1756 from microsoft/dev/gcampbell/Messaging
Add popups and change readme
2 parents 6f24815 + 04e04a7 commit c88508d

File tree

9 files changed

+3516
-904
lines changed

9 files changed

+3516
-904
lines changed

.github/workflows/build.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
# written, but it should be updated when VS Code updates its Node version.
3030
# Node needs to be installed before OS-specific setup so that we can run
3131
# the hash verification script.
32-
- name: Use Node 16.x
32+
- name: Use Node 18.x
3333
uses: actions/setup-node@v2
3434
with:
35-
node-version: 16.x
35+
node-version: 18.x
3636

3737
# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
3838
- name: Use Python 3.8
@@ -79,7 +79,15 @@ jobs:
7979
- name: Check for linting errors
8080
run: gulp tslint
8181
- name: Build and pack extension
82-
run: node build/package.js
82+
if: ${{ matrix.os != 'windows-latest' }}
83+
run: |
84+
export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"
85+
node build/package.js
86+
- name: Build and pack extension
87+
if: ${{ matrix.os == 'windows-latest' }}
88+
run: |
89+
$env:NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"
90+
node build/package.js
8391
- name: Publish extension VSIX as artifact
8492
uses: actions/upload-artifact@v2
8593
with:

README.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Visual Studio Code extension for Arduino
1+
# Visual Studio Code extension for Arduino (deprecated)
2+
3+
> ⚠️ **Warning** ⚠️
4+
>
5+
> # This extension is deprecated and no longer maintained. We recommend existing customers to use the [Arduino IDE software](https://www.arduino.cc/en/software).
26
37
[![Gitter](https://img.shields.io/badge/chat-on%20gitter-blue.svg)](https://gitter.im/Microsoft/vscode-arduino)
48

build/build.yml

+12-4
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ jobs:
2727
zipSources: false
2828
condition: ne(variables['Build.Reason'], 'PullRequest')
2929
- task: NodeTool@0
30-
displayName: Use Node 16.x
30+
displayName: Use Node 18.x
3131
inputs:
32-
versionSpec: 16.x
32+
versionSpec: 18.x
33+
- task: UsePythonVersion@0
34+
displayName: Use Python 3.8
35+
inputs:
36+
versionSpec: 3.8
3337
- ${{ if parameters.prerelease }}:
3438
- 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))"
3539
- script: npm install --global gulp node-gyp @vscode/vsce
@@ -49,10 +53,14 @@ jobs:
4953
displayName: Use production AI key
5054
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
5155
- ${{ if parameters.prerelease }}:
52-
- script: node build/package.js --pre-release
56+
- pwsh: |
57+
$env:NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
58+
node build/package.js --pre-release
5359
displayName: Build and pack extension
5460
- ${{ else }}:
55-
- script: node build/package.js
61+
- pwsh: |
62+
$env:NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
63+
node build/package.js
5664
displayName: Build and pack extension
5765
- pwsh: |
5866
$path = Join-Path $Env:TEMP "7z-installer.exe"

build/prerelease.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ extends:
5454
- download: current
5555
artifact: extension-vsixes
5656
- task: NodeTool@0
57-
displayName: Use Node 16.x
57+
displayName: Use Node 18.x
5858
inputs:
59-
versionSpec: 16.x
59+
versionSpec: 18.x
6060
- script: npm install --global @vscode/vsce
6161
displayName: Install vsce
6262
- script: for f in $(Pipeline.Workspace)/extension-vsixes/*.vsix; do vsce publish --packagePath $f; done

0 commit comments

Comments
 (0)