Skip to content

Commit 623ba4c

Browse files
committed
Added release workflow
1 parent 51b4845 commit 623ba4c

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.github/FUNDING.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# These are supported funding model platforms
2+
3+
github: [estruyf]
4+
custom: ["https://www.buymeacoffee.com/zMeFRy9"]

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
on:
3+
release:
4+
types:
5+
- published
6+
workflow_dispatch:
7+
8+
jobs:
9+
build:
10+
name: "Build and release"
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v2
15+
- uses: actions/setup-node@v1
16+
with:
17+
node-version: 14
18+
registry-url: https://registry.npmjs.org/
19+
20+
- name: Install the dependencies
21+
run: npm i
22+
23+
- name: Install vsce
24+
run: npm i -g vsce
25+
26+
- name: Publish
27+
run: vsce publish -p ${{ secrets.VSCE_PAT }}
28+

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ All notable changes to the "eliostruyf.vscode-hide-comments" extension will be d
55
## [1.1.1]
66

77
- Removed image location from `vsce publish` command
8+
- Added GitHub Actions release workflow
89

910
## [1.1.0]
1011

0 commit comments

Comments
 (0)