Update .gitea/workflows/build_and_puplish.yml

This commit is contained in:
2025-08-03 19:35:31 +00:00
parent 5124c12bc6
commit 8b44b41d68
+4 -3
View File
@@ -1,7 +1,8 @@
on: on:
push: push:
tags: - "main"
- "*" #tags:
# - "*"
jobs: jobs:
build_and_publish: build_and_publish:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@@ -36,7 +37,7 @@ jobs:
git commit -m "Update version to ${{ github.ref_name }}" git commit -m "Update version to ${{ github.ref_name }}"
git push origin HEAD:main git push origin HEAD:main
- name: Publish to Visual Studio Marketplace - name: Publish to Visual Studio Marketplace
run: vsce publish run: vsce pack
env: env:
VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }} VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }}
- name: Upload VSIX to Release - name: Upload VSIX to Release