Skip to content

Add some CI

Add some CI #4

name: Publish pre-release extension to
on:
push:
branches:
- master
pull_request:
branches:
- main
workflow_dispatch:
jobs:
call-build:
uses: ./.github/workflows/build.yml

Check failure on line 14 in .github/workflows/deploy-pre-release.yml

View workflow run for this annotation

GitHub Actions / Publish pre-release extension to

Invalid workflow file

The workflow is not valid. In .github/workflows/deploy-pre-release.yml (Line: 14, Col: 11): Error from called workflow vscode-arduino/vscode-arduino/.github/workflows/build.yml@e73374b011eb488def88f8ab4e5e344804dece86 (Line: 24, Col: 15): Unexpected value 'choice' In .github/workflows/deploy-pre-release.yml (Line: 14, Col: 11): Error from called workflow vscode-arduino/vscode-arduino/.github/workflows/build.yml@e73374b011eb488def88f8ab4e5e344804dece86 (Line: 25, Col: 9): Unexpected value 'options'
with:
BUILD_FLAGS: '--pre-release'
upload:
needs: call-build
runs-on: ubuntu-latest
steps:
- name: download-artifacts
uses: actions/download-artifact@v4
with:
name: VS Code extension VSIXes (ubuntu-latest)
- name: upload extension
run: |
echo ${{ secrets.VSCE_PASSWORD }} | vsce login ${{ secrets.VSCE_USER }}
vsce publish --pre-release --packagePath ./out/vsix/*
vsce logout