Skip to content

Commit

Permalink
Merge pull request #36 from MetabobProject/build-vsc-package-update
Browse files Browse the repository at this point in the history
build vsc package update
  • Loading branch information
AviGopal authored Feb 29, 2024
2 parents 247dede + 41eab31 commit 580d9ab
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 29 deletions.
1 change: 0 additions & 1 deletion .github/workflows/codespell.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
name: Codespell

on:
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/pre-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Pre-Release-Publish

on:
push:
tags:
- '*.*.*-pre'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install Dependencies
run: npm ci

- name: Package Extension
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npx vsce publish --pre-release
29 changes: 1 addition & 28 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,4 @@ jobs:
- name: Package Extension
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npx vsce publish
---
name: Pre-Release

on:
push:
tags:
- '*.*.*-pre'

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18'

- name: Install Dependencies
run: npm ci

- name: Package Extension
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
run: npx vsce publish --pre-release
run: npx vsce publish

0 comments on commit 580d9ab

Please sign in to comment.