From 911023297bf00f8b6adf4a438aaaabd3334c16ee Mon Sep 17 00:00:00 2001 From: awalsh128 Date: Thu, 21 Oct 2021 21:12:42 -0700 Subject: [PATCH] Make cache directory first thing. --- pre_cache_action.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pre_cache_action.sh b/pre_cache_action.sh index 13018c4..51a5b78 100755 --- a/pre_cache_action.sh +++ b/pre_cache_action.sh @@ -9,6 +9,9 @@ version=$2 # List of the packages to use. packages=${@:3} +# Create cache directory so artifacts can be saved. +mkdir -p $cache_dir + echo -n "Validating action arguments (version='$version', packages='$packages')..."; echo $version | grep -o " " > /dev/null if [ $? -eq 0 ]; then