File tree Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Expand file tree Collapse file tree 2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ name: Bundle extension
3
3
on :
4
4
push :
5
5
branches : [master]
6
- tags : ['*']
7
6
pull_request :
8
7
workflow_dispatch :
9
8
Original file line number Diff line number Diff line change
1
+ name : Release extension
2
+
3
+ on :
4
+ push :
5
+ tags : ['*']
6
+
7
+ jobs :
8
+ release :
9
+ runs-on : ubuntu-latest
10
+
11
+ steps :
12
+ - uses : actions/checkout@v3
13
+
14
+ - uses : actions/setup-node@v3
15
+ with :
16
+ node-version : ' 16.8.0'
17
+
18
+ - uses : actions/cache@v3
19
+ with :
20
+ path : ' node_modules'
21
+ key : os-${{ runner.os }}-modules-${{ hashFiles('package-lock.json') }}
22
+
23
+ - run : npm ci
24
+
25
+ - run : npm run bundle
26
+
27
+ - name : Create Release
28
+ id : create_release
29
+ uses : actions/create-release@v1
30
+ env :
31
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
32
+ with :
33
+ tag_name : ${{ github.ref }}
34
+ release_name : ${{ github.ref }}
35
+ body : Release ${{ github.ref }}
36
+ draft : false
37
+ prerelease : false
38
+
39
+ - name : Upload Release Assets
40
+ uses : shogo82148/actions-upload-release-asset@v1
41
+ with :
42
+ upload_url : ${{ steps.create_release.outputs.upload_url }}
43
+ asset_path : ./tarantool-lua-debugger-vscode-*.vsix
You can’t perform that action at this time.
0 commit comments