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

Add popups and change readme #1756

Merged
merged 26 commits into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
# written, but it should be updated when VS Code updates its Node version.
# Node needs to be installed before OS-specific setup so that we can run
# the hash verification script.
- name: Use Node 16.x
- name: Use Node 18.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x

# On new macos-latest machines, Python 3.9+ is used, and it's causing issues with binding.gyp
- name: Use Python 3.8
Expand Down Expand Up @@ -79,7 +79,15 @@ jobs:
- name: Check for linting errors
run: gulp tslint
- name: Build and pack extension
run: node build/package.js
if: ${{ matrix.os != 'windows-latest' }}
run: |
export NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"
node build/package.js
- name: Build and pack extension
if: ${{ matrix.os == 'windows-latest' }}
run: |
$env:NODE_OPTIONS="--openssl-legacy-provider --no-experimental-fetch"
node build/package.js
- name: Publish extension VSIX as artifact
uses: actions/upload-artifact@v2
with:
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Visual Studio Code extension for Arduino
# Visual Studio Code extension for Arduino (deprecated)

> ⚠️ **Warning** ⚠️
>
> # This extension is deprecated and no longer maintained. We recommend existing customers to use the [Arduino IDE software](https://www.arduino.cc/en/software).

[![Gitter](https://img.shields.io/badge/chat-on%20gitter-blue.svg)](https://gitter.im/Microsoft/vscode-arduino)

Expand Down
16 changes: 12 additions & 4 deletions build/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ jobs:
zipSources: false
condition: ne(variables['Build.Reason'], 'PullRequest')
- task: NodeTool@0
displayName: Use Node 16.x
displayName: Use Node 18.x
inputs:
versionSpec: 16.x
versionSpec: 18.x
- task: UsePythonVersion@0
displayName: Use Python 3.8
inputs:
versionSpec: 3.8
- ${{ if parameters.prerelease }}:
- 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))"
- script: npm install --global gulp node-gyp @vscode/vsce
Expand All @@ -49,10 +53,14 @@ jobs:
displayName: Use production AI key
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
- ${{ if parameters.prerelease }}:
- script: node build/package.js --pre-release
- pwsh: |
$env:NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
node build/package.js --pre-release
displayName: Build and pack extension
- ${{ else }}:
- script: node build/package.js
- pwsh: |
$env:NODE_OPTIONS="--no-experimental-fetch --openssl-legacy-provider"
node build/package.js
displayName: Build and pack extension
- pwsh: |
$path = Join-Path $Env:TEMP "7z-installer.exe"
Expand Down
4 changes: 2 additions & 2 deletions build/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ extends:
- download: current
artifact: extension-vsixes
- task: NodeTool@0
displayName: Use Node 16.x
displayName: Use Node 18.x
inputs:
versionSpec: 16.x
versionSpec: 18.x
- script: npm install --global @vscode/vsce
displayName: Install vsce
- script: for f in $(Pipeline.Workspace)/extension-vsixes/*.vsix; do vsce publish --packagePath $f; done
Expand Down
Loading
Loading