Update .gitea/workflows/build_and_puplish.yml

This commit is contained in:
2025-01-08 06:28:07 +00:00
parent c6e57eae51
commit f8512816bf
+23 -23
View File
@@ -1,26 +1,26 @@
on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
jobs:
build_and_publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install NPM
run: npm i
- name: Install VSCE
run: npm -g i @vscode/vsce
- name: Build Package Files
run: npm run package
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VSCODE_MARKETPALCE }}
registryUrl: https://marketplace.visualstudio.com
build_and_publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install NodeJS
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install NPM
run: npm i
- name: Install VSCE
run: npm -g i @vscode/vsce
- name: Build Package Files
run: npm run package
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VSCODE_MARKETPALCE }}
registryUrl: https://marketplace.visualstudio.com