Commit 5ad08fe 1 parent 11cc05b commit 5ad08fe Copy full SHA for 5ad08fe
File tree 2 files changed +45
-1
lines changed
2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : release
2
+ on :
3
+ push :
4
+ tags :
5
+ - ' v[0-9]+.[0-9]+.[0-9]+'
6
+ # Allows you to run this workflow manually from the Actions tab
7
+ workflow_dispatch :
8
+
9
+ jobs :
10
+
11
+ release :
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : Check out Git repository
16
+ uses : actions/checkout@v4
17
+ with :
18
+ submodules : ' true'
19
+
20
+ - name : Install Node.js, NPM and Yarn
21
+ uses : actions/setup-node@v4
22
+ with :
23
+ node-version : 20
24
+
25
+ - name : Install VUE Dependencies
26
+ run : ' npm install --prefix=./src-vue/'
27
+
28
+ - name : Build VUE
29
+ run : ' npm run build_vue'
30
+
31
+ - name : Install PLUGIN Dependencies
32
+ run : ' npm install'
33
+
34
+ - name : Build PLUGIN
35
+ run : ' npm run build_plugin'
36
+
37
+ - name : Create Release
38
+ id : create_release
39
+ uses : softprops/action-gh-release@v1
40
+ with :
41
+ tag_name : ${{ github.event.release.tag_name }}
42
+ files : arc-vs-code-${{ github.event.release.tag_name }}.vsix
43
+ env :
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 99
99
"vscode:prepublish" : " npm run compile" ,
100
100
"build_vue" : " npm run build --prefix=./src-vue/" ,
101
101
"build_plugin" : " ./node_modules/vsce/vsce package" ,
102
- "install " : " code --uninstall-extension nfdi4plants.arc-vs-code; code --install-extension ./arc-vs-code-1.0.0.vsix" ,
102
+ "install_code " : " code --uninstall-extension nfdi4plants.arc-vs-code; code --install-extension ./arc-vs-code-1.0.0.vsix" ,
103
103
"full" : " npm run build_vue;npm run build_plugin;npm run install; code" ,
104
104
"full2" : " npm run build_plugin;npm run install; code" ,
105
105
"compile" : " tsc -p ./" ,
You can’t perform that action at this time.
0 commit comments