]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
CI: use "/tmp" as default value for TMPDIR when searching logs
authorIlia Shipitsin <chipitsine@gmail.com>
Sat, 7 Dec 2024 09:01:38 +0000 (10:01 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 10 Dec 2024 07:20:51 +0000 (08:20 +0100)
VTest use /tmp already if not defined, let stick the behaviour for
searching logs as well

.github/workflows/aws-lc.yml
.github/workflows/fedora-rawhide.yml
.github/workflows/vtest.yml
.github/workflows/wolfssl.yml

index 1ef0ef27949fb590f9ca18c1f7badd9368f301be..6b4ad490c7aff44c4072b0e9004efc0a8b5c9c05 100644 (file)
@@ -63,7 +63,7 @@ jobs:
       - name: Show VTest results
         if: ${{ failure() && steps.vtest.outcome == 'failure' }}
         run: |
-          for folder in ${TMPDIR}/haregtests-*/vtc.*; do
+          for folder in ${TMPDIR:-/tmp}/haregtests-*/vtc.*; do
             printf "::group::"
             cat $folder/INFO
             cat $folder/LOG
index c320c8e66a4f954f0b98347641b3fc353d7d023f..09da50b36f7fcce3fb9795bc9c03bd3f44efe16b 100644 (file)
@@ -58,7 +58,7 @@ jobs:
     - name: Show VTest results
       if: ${{ failure() && steps.vtest.outcome == 'failure' }}
       run: |
-        for folder in ${TMPDIR}/haregtests-*/vtc.*; do
+        for folder in ${TMPDIR:-/tmp}/haregtests-*/vtc.*; do
           printf "::group::"
           cat $folder/INFO
           cat $folder/LOG
index ea8b5ee74d82c33e95b990d668bdc8ea41ce6b80..9353bba22dd0aeb94e30146edfd1163a865e2b33 100644 (file)
@@ -157,7 +157,7 @@ jobs:
     - name: Show VTest results
       if: ${{ failure() && steps.vtest.outcome == 'failure' }}
       run: |
-        for folder in ${TMPDIR}/haregtests-*/vtc.*; do
+        for folder in ${TMPDIR:-/tmp}/haregtests-*/vtc.*; do
           printf "::group::"
           cat $folder/INFO
           cat $folder/LOG
index e29a5f7a94f63952b186793884fde656ce27d1fc..0a5eb25d861d2de74bf854a2efe3d227927fbc17 100644 (file)
@@ -63,7 +63,7 @@ jobs:
       - name: Show VTest results
         if: ${{ failure() && steps.vtest.outcome == 'failure' }}
         run: |
-          for folder in ${TMPDIR}/haregtests-*/vtc.*; do
+          for folder in ${TMPDIR:-/tmp}/haregtests-*/vtc.*; do
             printf "::group::"
             cat $folder/INFO
             cat $folder/LOG