v3.1.0 #16
Workflow file for this run
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
--- | |
# | |
# Documentation: | |
# https://help.github.com/en/articles/workflow-syntax-for-github-actions | |
# | |
####################################### | |
# Start the job on all push to master # | |
####################################### | |
name: "Build & Deploy - RELEASE" | |
on: | |
release: | |
# Want to run the automation when a release is created | |
types: ["created"] | |
permissions: read-all | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm ci | |
- uses: lannonbr/vsce-action@08c559e5b8d51bf7c1e4ae83744a561b8c5870c8 | |
with: | |
args: "publish -p $VSCE_TOKEN" | |
env: | |
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} | |
deploy_ovsx: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 16 | |
- run: npm ci | |
- name: Publish to Open VSX Registry | |
uses: HaaLeo/publish-vscode-extension@v1 | |
with: | |
pat: ${{ secrets.OPENVSX_TOKEN }} |