]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Really fix saving test logs... 4876/head
authorAndrew Lewis <nerf@judo.za.org>
Fri, 15 Mar 2024 14:21:24 +0000 (16:21 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Fri, 15 Mar 2024 14:35:43 +0000 (16:35 +0200)
.github/workflows/ci_rspamd.yml

index 04a6eff34b491bbcc60880bcb9b15f4758465a74..ebd4f2cf319e43998fea7be4c4f91e2d9457449c 100644 (file)
@@ -12,7 +12,6 @@ on:
 
 env:
   CTEST_OUTPUT_ON_FAILURE: 1
-  CONTAINER_WORKSPACE: ${GITHUB_WORKSPACE}
   RSPAMD_LUA_EXPENSIVE_TESTS: 1
 
 jobs:
@@ -73,6 +72,9 @@ jobs:
           for core in $core_files; do exe=$(gdb --batch -ex 'info proc mappings' -c $core | tail -1 | awk '{print $5}'); gdb --batch -ex 'bt' -c $core $exe; echo '---'; done
           exit $EXIT_CODE
 
+      - name: Save workspace directory
+        run: echo "CONTAINER_WORKSPACE=${GITHUB_WORKSPACE}" >> "$GITHUB_ENV"
+
       # FIXME: upload test logs even on ARM
       - name: Upload robot logs
         if: runner.arch == 'X64' && (success() || failure())