File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : Release
2
2
3
3
on :
4
- # schedule:
5
- # - cron: "*/30 * * * *"
4
+ schedule :
5
+ - cron : " */30 * * * *"
6
6
push :
7
7
branches :
8
- - master-null
8
+ - master
9
9
10
10
jobs :
11
11
release :
Original file line number Diff line number Diff line change @@ -51,9 +51,13 @@ void (async () => {
51
51
const zip = new AdmZip ( currentVsixPath ) ;
52
52
const zipEntries = zip . getEntries ( ) ;
53
53
const entry = zipEntries . find (
54
- o =>
55
- o . entryName === `extension/node_modules/phpfmt/v2/${ phpfmt . v2 . pharName } `
54
+ o => o . entryName === `extension/dist/${ phpfmt . v2 . pharName } `
56
55
) ;
56
+
57
+ if ( entry == null ) {
58
+ throw new Error ( "Can't find phar in vsix" ) ;
59
+ }
60
+
57
61
const currentPharData = String ( entry ?. getData ( ) ) ;
58
62
const currentMd5 = md5 ( currentPharData ) ;
59
63
console . log ( `Current md5: ${ currentMd5 } ` ) ;
You can’t perform that action at this time.
0 commit comments