File tree Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Expand file tree Collapse file tree 1 file changed +16
-10
lines changed Original file line number Diff line number Diff line change @@ -84,16 +84,22 @@ jobs:
84
84
- name : tool versions
85
85
continue-on-error : true
86
86
run : |
87
- set +e -v
88
- uname -a
89
- which java
90
- java -version
91
- which javac
92
- javac -version
93
- which node
94
- node --version
95
- ${{ env.FDC_FIREBASE_COMMAND }} --version
96
- ./gradlew --version
87
+ function run_cmd {
88
+ echo "==============================================================================="
89
+ echo "Running Command: $*"
90
+ ("$@" 2>&1) || echo "WARNING: command failed with non-zero exit code $?: $*"
91
+ echo
92
+ }
93
+
94
+ run_cmd uname -a
95
+ run_cmd which java
96
+ run_cmd java -version
97
+ run_cmd which javac
98
+ run_cmd javac -version
99
+ run_cmd which node
100
+ run_cmd node --version
101
+ run_cmd ${{ env.FDC_FIREBASE_COMMAND }} --version
102
+ run_cmd ./gradlew --version
97
103
98
104
- name : Gradle assembleDebugAndroidTest
99
105
run : |
You can’t perform that action at this time.
0 commit comments