File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
roles/tests-unit/files/FWO.Test Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,14 @@ public async Task GeneratePdf()
1919 {
2020 var isGitHubActions = Environment . GetEnvironmentVariable ( "GITHUB_ACTIONS" ) == "true" ;
2121
22- if ( Environment . GetEnvironmentVariable ( "GITHUB_ACTIONS" ) is null || string . IsNullOrEmpty ( Environment . GetEnvironmentVariable ( "GITHUB_ACTIONS" ) ) )
22+ var environmentVariables = Environment . GetEnvironmentVariables ( ) ;
23+
24+ foreach ( var key in environmentVariables . Keys )
25+ {
26+ Log . WriteError ( "Test Log" , $ "{ key } = { environmentVariables [ key ] } ") ;
27+ }
28+
29+ if ( Environment . GetEnvironmentVariable ( "GITHUB_ACTIONS" ) is null || string . IsNullOrEmpty ( Environment . GetEnvironmentVariable ( "GITHUB_ACTIONS" ) ) )
2330 {
2431 Log . WriteError ( "Test Log" , "GITHUB_ACTIONS is null or empty!" ) ;
2532 }
You can’t perform that action at this time.
0 commit comments