fix: ensure that cache-dir exists
CI / Test Merge SARIF Files (pull_request) Successful in 3s
CI / Test Get Images From Files (pull_request) Successful in 4s
CI / Test Setup DB (pull_request) Successful in 6s
CI / Test scan-config (pull_request) Failing after 12s
CI / Test scan-image (pull_request) Failing after 1m0s
CI / Test scan-fs (pull_request) Failing after 1m37s

This commit is contained in:
2026-04-10 19:14:57 +02:00
parent 6e5f62d4dd
commit 1bd96bbcef
4 changed files with 6 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ runs:
run: |
set -euo pipefail
case "$OUTPUT_FILE" in */*|".."*) echo "FAIL: output-file must be a single file name (no path separators)"; exit 1 ;; esac
mkdir -p "$CACHE_DIR_IN"
cache_dir=$(realpath "$CACHE_DIR_IN")
mkdir -p "$OUTPUT_DIR_IN"
output_dir=$(realpath "$OUTPUT_DIR_IN")