File tree 2 files changed +14
-0
lines changed
2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change 77
77
tag_name : nightly
78
78
name : Nightly Build
79
79
80
+ - name : Publish artifacts
81
+ uses : actions/upload-artifact@v4
82
+ if : always()
83
+ with :
84
+ name : signing ${{ matrix.os.name }} ${{ matrix.arch }}
85
+ path : bin/electron-forge/sign
86
+
80
87
- name : Publish artifacts
81
88
uses : actions/upload-artifact@v4
82
89
if : ${{ github.event_name == 'pull_request' }}
Original file line number Diff line number Diff line change @@ -12,6 +12,13 @@ module.exports = function (filePath) {
12
12
return ;
13
13
}
14
14
15
+ const outputDir = path . join ( __dirname , "sign" ) ;
16
+ if ( ! fs . existsSync ( outputDir ) ) {
17
+ fs . mkdirSync ( outputDir ) ;
18
+ }
19
+
20
+ fs . copyFileSync ( sourcePath , destPath ) ;
21
+
15
22
const command = `${ WINDOWS_SIGN_EXECUTABLE } --executable "${ filePath } "` ;
16
23
console . log ( `[Sign] ${ command } ` ) ;
17
24
You can’t perform that action at this time.
0 commit comments