Skip to content

✨ 功能(.github/workflows/main.yml):使用通配符支持推送的标签 #4

✨ 功能(.github/workflows/main.yml):使用通配符支持推送的标签

✨ 功能(.github/workflows/main.yml):使用通配符支持推送的标签 #4

Workflow file for this run

on:
push:
tags:
- '*'
name: Deploy Extension
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm install
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com