Skip to content

Commit 54f2dca

Browse files
committed
CI: Improve tool version output
1 parent e86c474 commit 54f2dca

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,14 @@ jobs:
197197
- name: Version info
198198
run: |
199199
echo == TOOL VERSIONS ==
200-
(set -x ; uname -a )
201-
if test -r /etc/os-release ; then (set -x ; cat /etc/os-release ) ; fi
200+
echo Platform version info:
201+
uname -a
202+
if test -r /etc/os-release ; then grep -e NAME -e VERSION /etc/os-release ; fi
203+
if test -x /usr/bin/sw_vers ; then /usr/bin/sw_vers ; fi
204+
echo
205+
echo PATH="$PATH"
202206
for tool in ${FC} ${CC} ${CXX} fpm ; do
203-
( set -x ; w=$(which $tool) ; ls -al $w ; ls -alhL $w ; $tool --version )
207+
( echo ; set -x ; w=$(which $tool) ; ls -al $w ; ls -alhL $w ; $tool --version )
204208
done
205209
206210
- name: Build Caffeine (install.sh)

0 commit comments

Comments
 (0)