Skip to content

Commit e4ae036

Browse files
committed
Add semantic versioning to workflow
1 parent b9a5560 commit e4ae036

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Grade
2+
3+
on:
4+
push:
5+
tags:
6+
- '*.*.*'
7+
8+
jobs:
9+
grade:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v6.0.1
13+
with:
14+
fetch-depth: '0'
15+
- name: Install vsce
16+
run: npm install --location=global vsce
17+
- name: Install requirements
18+
run: npm install
19+
- name: Package extension
20+
run: |
21+
mkdir out
22+
vsce package --out out/mpremote-uv.vsix
23+
- name: Upload released package
24+
id: create-release
25+
uses: softprops/action-gh-release@v2
26+
with:
27+
files: |
28+
out/mpremote-uv.vsix
29+
token: ${{ secrets.GITHUB_TOKEN }}
30+
make_latest: true

0 commit comments

Comments
 (0)