Skip to content

Commit be3b9ea

Browse files
Merge pull request #31 from JBBianchi/feat-28-release-pipeline
Publish extension to GH
2 parents 5769100 + bb91272 commit be3b9ea

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/release.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Release artifact
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
publish:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repo
12+
uses: actions/checkout@v4
13+
14+
- name: Install NodeJS
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 20
18+
19+
- name: Install VSCE
20+
run: npm install -g @vscode/vsce
21+
22+
- name: Restore dependencies
23+
run: npm ci
24+
25+
- name: Build Extension
26+
run: vsce package
27+
28+
- name: Publish to GitHub
29+
uses: softprops/action-gh-release@v2
30+
with:
31+
files: "*.vsix"

0 commit comments

Comments
 (0)