Small dependencies update #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build .vsix release asset | |
on: push | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Package Extension | |
run: | | |
npm i -g @vscode/vsce | |
npm i -g yarn | |
yarn | |
vsce package --pre-release | |
- name: Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: raspberry-pi-pico | |
path: raspberry-pi-pico-*.vsix | |
- name: Add Release Asset | |
uses: softprops/action-gh-release@v2 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: raspberry-pi-pico-*.vsix |