This repository was archived by the owner on Oct 1, 2024. It is now read-only.
File tree 4 files changed +5
-6
lines changed
4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 73
73
74
74
- name : Check for linting errors
75
75
run : gulp tslint
76
- - name : Build extension
77
- run : gulp build --mode=production
78
- - name : Pack extension
76
+ - name : Build and pack extension
79
77
run : vsce package --out vscode-arduino.vsix
80
78
- name : Publish extension VSIX as artifact
81
79
uses : actions/upload-artifact@v2
Original file line number Diff line number Diff line change @@ -78,13 +78,11 @@ steps:
78
78
- script : gulp genAikey
79
79
displayName : Use production AI key
80
80
condition : and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags'))
81
- - script : gulp build --mode=production
82
- displayName : Build extension
83
81
# Pack the extension now even though it's unsigned so that we ignore files
84
82
# from .vscodeignore. This will reduce load on the signing server later and
85
83
# ensure we only attempt to sign shipping files.
86
84
- script : vsce package --out vscode-arduino.vsix
87
- displayName : Pack extension
85
+ displayName : Build and pack extension
88
86
89
87
- task : ComponentGovernanceComponentDetection@0
90
88
displayName : Detect components
Original file line number Diff line number Diff line change 13
13
<FilesToSign Include =" $(OutDir)\**\*.js" Exclude =" $(OutDir)\**\node_modules\**\*.js" >
14
14
<Authenticode >Microsoft400</Authenticode >
15
15
</FilesToSign >
16
+ <!-- Authenticode only works on Windows files. If we get the ability to sign Linux and Mac executables, the signing
17
+ steps should probably move to the serial-monitor-cli repo instead of doing all the signing here. -->
16
18
<FilesToSign Include =" $(OutDir)\out\serial-monitor-cli\win32\*.exe" >
17
19
<Authenticode >Microsoft400</Authenticode >
18
20
</FilesToSign >
Original file line number Diff line number Diff line change 571
571
]
572
572
},
573
573
"scripts" : {
574
+ "vscode:prepublish" : " gulp build --mode=production" ,
574
575
"postinstall" : " cd ./src/views && npm install && node ../../node_modules/node-usb-native/scripts/rebuild-serialport.js" ,
575
576
"test" : " gulp test"
576
577
},
You can’t perform that action at this time.
0 commit comments