File tree Expand file tree Collapse file tree 5 files changed +5
-3
lines changed
Expand file tree Collapse file tree 5 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ concurrency:
1111 cancel-in-progress : true
1212env :
1313 TARGET : x86_64-unknown-linux-gnu
14+ DEBUG : true
1415jobs :
1516 build :
1617 name : Build and Test PEM
Original file line number Diff line number Diff line change 33 workflow_dispatch :
44env :
55 TARGET : x86_64-unknown-linux-gnu
6+ DEBUG : true
67jobs :
78 build :
89 name : RuN!!!!
Original file line number Diff line number Diff line change 11function debug ( title , content ) {
2- if ( process . env . CI === 'true' ) {
2+ if ( process . env . DEBUG === 'true' ) {
33 console . log ( `::group::${ title } ` )
44 console . log ( JSON . stringify ( content , null , 3 ) )
55 console . log ( '::endgroup::' )
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ var tempDir = process.env.PEMJS_TMPDIR || osTmpdir()
1212
1313const versionRegEx = new RegExp ( '^(OpenSSL|LibreSSL) (((\\d+).(\\d+)).(\\d+))([a-z]+)?' )
1414
15- if ( "CI " in process . env && process . env . CI === 'true' ) {
15+ if ( "DEBUG " in process . env && process . env . DEBUG === 'true' ) {
1616 if ( "LIBRARY" in process . env && "VERSION" in process . env && process . env . LIBRARY != "" && process . env . VERSION != "" ) {
1717 const filePathOpenSSL = `./openssl/${ process . env . LIBRARY } _v${ process . env . VERSION } /bin/openssl`
1818 if ( fs . existsSync ( filePathOpenSSL ) ) {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ chai.use(dirtyChai)
1010
1111process . env . PEMJS_TMPDIR = './tmp'
1212debug ( "ENVs:" , process . env )
13- if ( ( process . env . TRAVIS === 'true' || process . env . CI === 'true' ) && "OPENSSL_DIR" in process . env && ! ( "OPENSSL_BIN" in process . env ) ) {
13+ if ( ( process . env . TRAVIS === 'true' || process . env . DEBUG === 'true' ) && "OPENSSL_DIR" in process . env && ! ( "OPENSSL_BIN" in process . env ) ) {
1414 process . env . OPENSSL_BIN = process . env . GITHUB_WORKSPACE + '/openssl/bin/openssl'
1515}
1616
You can’t perform that action at this time.
0 commit comments