File tree Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Expand file tree Collapse file tree 1 file changed +14
-9
lines changed Original file line number Diff line number Diff line change @@ -89,15 +89,20 @@ jobs:
8989 - name : tool versions
9090 continue-on-error : true
9191 run : |
92- set +e -v
93- which java
94- java -version
95- which javac
96- javac -version
97- which node
98- node --version
99- ${{ env.FDC_FIREBASE_COMMAND }} --version
100- ./gradlew --version
92+ function run_cmd {
93+ echo "==============================================================================="
94+ echo "Running Command: $*"
95+ ("$@" 2>&1) || echo "WARNING: command failed with non-zero exit code $?: $*"
96+ }
97+
98+ run_cmd which java
99+ run_cmd java -version
100+ run_cmd which javac
101+ run_cmd javac -version
102+ run_cmd which node
103+ run_cmd node --version
104+ run_cmd ${{ env.FDC_FIREBASE_COMMAND }} --version
105+ run_cmd ./gradlew --version
101106
102107 - name : ./gradlew assemble test
103108 run : |
You can’t perform that action at this time.
0 commit comments