Skip to content

Add some CI

Add some CI #5

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. .github/workflows/deploy-pre-release.yml (Line: 14, Col: 11): Input os is required, but not provided while calling.
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