CI: move logs/ to GITHUB_WORKSPACE
authorPaul Spooren <mail@aparcar.org>
Wed, 9 Mar 2022 12:30:21 +0000 (13:30 +0100)
committerJosef Schlehofer <pepe.schlehofer@gmail.com>
Sun, 4 Dec 2022 15:26:59 +0000 (16:26 +0100)
commitd3a8cacfcc893b507450495375715b3f4244ef8b
treeac9efb55c3cc345ed2521c89b6c4f782979e6135
parent9c4d81ec5e7340be08f4a0bae031bfee4e64bc14
CI: move logs/ to GITHUB_WORKSPACE

Artifacts can only be uploaded from inside the GITHUB_WORKSPACE. While
the Linux CI jobs run inside that per default, a special case-sensitive
mount outside the GITHUB_WORKSPACE is used for macOS builds.

To make log artifacts work for both macOS and Linux, move logs/ folder
to GITHUB_WORKSPACE on failures.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(cherry picked from commit a5eeac8033786a7a04b7569175e41e415b6579c0)
.github/workflows/tools.yml