This repository has been archived by the owner on Oct 27, 2024. It is now read-only.
Release to VSCode marketplace #179
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
name: Release to VSCode marketplace | |
on: | |
create: | |
tags: | |
- v* | |
jobs: | |
build: | |
name: Publish | |
runs-on: [self-hosted, public, linux, x64] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: master | |
- name: Setup Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14 | |
- name: Publish to Marketplace | |
run: | | |
npm ci | |
npm install -g --unsafe-perm vsce | |
vsce package | |
vsce publish -p ${{ secrets.VSCODE_MARKETPLACE_TOKEN }} |