v2.5.0 #104
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 when a GitHub release is created # | |
################################################## | |
name: "Build & Deploy - RELEASE" | |
on: | |
release: | |
# Want to run the automation when a release is created | |
types: ["created"] | |
permissions: read-all | |
jobs: | |
deploy: | |
name: Deploy on VsCode MarketPlace | |
runs-on: ubuntu-latest | |
permissions: read-all | |
environment: | |
name: release | |
steps: | |
- uses: actions/checkout@v3 | |
- run: yarn | |
- uses: lannonbr/vsce-action@master | |
with: | |
args: "publish -p $VSCE_TOKEN" | |
env: | |
VSCE_TOKEN: ${{ secrets.VSCE_TOKEN }} | |
deploy_ovsx: | |
name: Deploy on Open VSX | |
runs-on: ubuntu-latest | |
permissions: read-all | |
environment: | |
name: release | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
- run: yarn | |
- name: Publish to Open VSX Registry | |
uses: HaaLeo/publish-vscode-extension@v1 | |
with: | |
pat: ${{ secrets.OPENVSX_TOKEN }} |