File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 6
6
# tags:
7
7
# - '*'
8
8
9
-
10
9
jobs :
11
10
build-vsix :
12
11
runs-on : ubuntu-20.04
@@ -21,11 +20,13 @@ jobs:
21
20
cache-dependency-path : ./package-lock.json
22
21
- name : Install code
23
22
run : |
24
- sudo snap install --classic code
23
+ #sudo snap install --classic code
24
+ npm install -g @vscode/vsce
25
+ npm install
25
26
- name : Build VSIX
26
27
run : |
27
- rm -f *.vsix
28
- vsce package
28
+ rm -f *.vsix
29
+ vsce package
29
30
30
31
- name : Upload VSIX
31
32
uses : actions/upload-artifact@v4
50
51
run : |
51
52
rev=$(git rev-parse --short HEAD)
52
53
mkdir release
53
- mkdir tmp && cd tmp && unzip ../arduino-littlefs-upload.vsix.zip/*zip && mv */*vsix ../release/. && cd .. && rm -rf tmp
54
+ cp arduino-littlefs-upload/arduino-littlefs-upload/arduino-littlefs-upload.vsix ./release/arduino-littlefs-upload-${rev}.vsix
55
+ #mkdir tmp && cd tmp && unzip ../arduino-littlefs-upload.vsix.zip/*zip && mv */*vsix ../release/. && cd .. && rm -rf tmp
54
56
ls -l release
55
57
- name : Drafting release
56
58
uses : ncipollo/release-action@v1
You can’t perform that action at this time.
0 commit comments