CI: use "/tmp" as default value for TMPDIR when searching logs

VTest use /tmp already if not defined, let stick the behaviour for
searching logs as well
This commit is contained in:
Ilia Shipitsin 2024-12-07 10:01:38 +01:00 committed by Willy Tarreau
parent 193c94a539
commit d61cac4ed1
4 changed files with 4 additions and 4 deletions

View File

@ -63,7 +63,7 @@ jobs:
- name: Show VTest results - name: Show VTest results
if: ${{ failure() && steps.vtest.outcome == 'failure' }} if: ${{ failure() && steps.vtest.outcome == 'failure' }}
run: | run: |
for folder in ${TMPDIR}/haregtests-*/vtc.*; do for folder in ${TMPDIR:-/tmp}/haregtests-*/vtc.*; do
printf "::group::" printf "::group::"
cat $folder/INFO cat $folder/INFO
cat $folder/LOG cat $folder/LOG

View File

@ -58,7 +58,7 @@ jobs:
- name: Show VTest results - name: Show VTest results
if: ${{ failure() && steps.vtest.outcome == 'failure' }} if: ${{ failure() && steps.vtest.outcome == 'failure' }}
run: | run: |
for folder in ${TMPDIR}/haregtests-*/vtc.*; do for folder in ${TMPDIR:-/tmp}/haregtests-*/vtc.*; do
printf "::group::" printf "::group::"
cat $folder/INFO cat $folder/INFO
cat $folder/LOG cat $folder/LOG

View File

@ -157,7 +157,7 @@ jobs:
- name: Show VTest results - name: Show VTest results
if: ${{ failure() && steps.vtest.outcome == 'failure' }} if: ${{ failure() && steps.vtest.outcome == 'failure' }}
run: | run: |
for folder in ${TMPDIR}/haregtests-*/vtc.*; do for folder in ${TMPDIR:-/tmp}/haregtests-*/vtc.*; do
printf "::group::" printf "::group::"
cat $folder/INFO cat $folder/INFO
cat $folder/LOG cat $folder/LOG

View File

@ -63,7 +63,7 @@ jobs:
- name: Show VTest results - name: Show VTest results
if: ${{ failure() && steps.vtest.outcome == 'failure' }} if: ${{ failure() && steps.vtest.outcome == 'failure' }}
run: | run: |
for folder in ${TMPDIR}/haregtests-*/vtc.*; do for folder in ${TMPDIR:-/tmp}/haregtests-*/vtc.*; do
printf "::group::" printf "::group::"
cat $folder/INFO cat $folder/INFO
cat $folder/LOG cat $folder/LOG