update workflow
/ build_and_publish (push) Successful in 17s

This commit is contained in:
Christoph Brandau
2025-01-08 11:35:45 +01:00
parent 202c401062
commit 793effd85d
+10 -1
View File
@@ -22,7 +22,16 @@ jobs:
run: npm -g i @vscode/vsce
- name: Build Package Files
run: npm run package
- name: Update package.json Version
run: npm version ${{ github.ref_name }} --no-git-tag-version
- name: Commit and Push Changes
run: |
git config user.name "${{ USERNAME_GIT }}"
git config user.email "${{ EMAIL_GIT }}"
git add package.json
git commit -m "Update version to ${{ github.ref_name }}"
git push origin HEAD
- name: Publish to Visual Studio Marketplace
run: vsce publish ${{ github.ref_name }}
run: vsce publish
env:
VSCE_PAT: ${{ secrets.VSCODE_MARKETPALCE }}