Skip to content

Commit

Permalink
ci fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
HYP3R00T committed Jul 17, 2024
1 parent f92aeea commit b9f141a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Release new package
on:
on:
push:
branches:
- master
tags:
- 'v*'
- "v*"

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -19,8 +19,8 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
node-version: "18"

- name: Install dependencies
run: npm install

Expand All @@ -29,11 +29,6 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "hyp3r00t"
- name: Package VSCode extension
run: |
npm install -g vsce
vsce package
- name: Auto-increment version and tag
id: versioning
run: |
Expand All @@ -48,6 +43,11 @@ jobs:
git push origin HEAD
git push origin ${{ env.new_tag }}
- name: Package VSCode extension
run: |
npm install -g vsce
vsce package
- name: Create Release
id: create_release
uses: ncipollo/release-action@v1
Expand All @@ -56,4 +56,4 @@ jobs:
name: Release ${{ env.new_tag }}
artifacts: ./*.vsix
draft: false
prerelease: false
prerelease: false

0 comments on commit b9f141a

Please sign in to comment.