Skip to content

update version

update version #56

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node

Check failure on line 1 in .github/workflows/package_extension.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/package_extension.yml

Invalid workflow file

(Line: 15, Col: 3): The workflow must contain at least one job with no dependencies.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: publish_extension
on:
push:
branches: [ main ]
workflow_run:
workflows: ["build"]
types:
- completed
jobs:
publish:
name: publish
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
needs: ["build"]
steps:
- name: Install Nodejs
uses: actions/setup-node@v1
with:
node-version: 16.x
- uses: actions/download-artifact@v3
with:
name: package
path: ./editor/dist
- name: Publish Extension (Code Marketplace, release)
working-directory: editor
run: npx vsce publish --pat ${{ secrets.VS_MARKETPLACE_TOKEN }} --packagePath ./dist/*.vsix