Update .gitea/workflows/build_and_puplish.yml
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user