Skip to content

fix: error in publish ci #7

fix: error in publish ci

fix: error in publish ci #7

Workflow file for this run

name: 'Publish'
on:
push:
tags:
- 'v*'
jobs:
Release:
runs-on: ubuntu-latest
steps:
- name: Release
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
generate_release_notes: true
Publish:
needs: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- run: pnpm install
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
dependencies: false