Update .gitea/workflows/build_and_puplish.yml
/ build_and_publish (push) Failing after 6s

This commit is contained in:
2025-01-08 09:10:12 +00:00
parent 42ed3b87ef
commit b35fdb5876
+6 -11
View File
@@ -16,21 +16,16 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
- name: Bump Version of package.json
uses: ramonpaolo/bump-version@v2.3.1
with:
tag: ${{ github.ref_name }} # Accessing the context and get the reference_name, that in this case, is the tag that you created(ex: v1.0.0)
commit: true
branch_to_push: 'main'
- name: Install NPM Packages
run: npm i
- name: Install VSCE
run: npm -g i @vscode/vsce
- name: Update package.json version
run: |
TAG_NAME=${{ github.ref_name }}
npm version --no-git-tag-version $TAG_NAME
- name: Commit changes
run: |
git config user.name ${{ vars.USERNAME_GIT}}
git config user.email ${{ vars.EMAIL_GIT}}
git add package.json
git commit -m "Update package.json version to $TAG_NAME"
git push origin HEAD
- name: Build Package Files
run: npm run package
- name: Publish to Visual Studio Marketplace