Update .gitea/workflows/build_and_puplish.yml
This commit is contained in:
@@ -1,26 +1,26 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '[0-9]+.[0-9]+.[0-9]+'
|
- '[0-9]+.[0-9]+.[0-9]+'
|
||||||
jobs:
|
jobs:
|
||||||
build_and_publish:
|
build_and_publish:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Install NodeJS
|
- name: Install NodeJS
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
- name: Install NPM
|
- name: Install NPM
|
||||||
run: npm i
|
run: npm i
|
||||||
- name: Install VSCE
|
- name: Install VSCE
|
||||||
run: npm -g i @vscode/vsce
|
run: npm -g i @vscode/vsce
|
||||||
- name: Build Package Files
|
- name: Build Package Files
|
||||||
run: npm run package
|
run: npm run package
|
||||||
- name: Publish to Visual Studio Marketplace
|
- name: Publish to Visual Studio Marketplace
|
||||||
uses: HaaLeo/publish-vscode-extension@v1
|
uses: HaaLeo/publish-vscode-extension@v1
|
||||||
with:
|
with:
|
||||||
pat: ${{ secrets.VSCODE_MARKETPALCE }}
|
pat: ${{ secrets.VSCODE_MARKETPALCE }}
|
||||||
registryUrl: https://marketplace.visualstudio.com
|
registryUrl: https://marketplace.visualstudio.com
|
||||||
|
|
||||||
Reference in New Issue
Block a user