Skip to content

Commit ea97fb9

Browse files
committed
CI: factor and enhance version info
1 parent 5f4d02b commit ea97fb9

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,15 @@ jobs:
205205
- name: Version info
206206
run: |
207207
echo == TOOL VERSIONS ==
208-
echo PATH="$PATH"
209-
set -x
208+
echo Platform version info:
210209
uname -a
211-
if test -r /etc/os-release ; then cat /etc/os-release ; fi
212-
${FPM_FC} --version
213-
fpm --version
210+
if test -r /etc/os-release ; then grep -e NAME -e VERSION /etc/os-release ; fi
211+
if test -x /usr/bin/sw_vers ; then /usr/bin/sw_vers ; fi
212+
echo
213+
echo PATH="$PATH"
214+
for tool in ${FPM_FC} fpm ; do
215+
( echo ; set -x ; w=$(which $tool) ; ls -al $w ; ls -alhL $w ; $tool --version )
216+
done
214217
215218
- name: Build and Test (Assertions OFF)
216219
run: |

0 commit comments

Comments
 (0)