Make cache directory first thing.

This commit is contained in:
awalsh128 2021-10-21 21:12:42 -07:00
parent 63a7ea6f1c
commit 911023297b

View file

@ -9,6 +9,9 @@ version=$2
# List of the packages to use. # List of the packages to use.
packages=${@:3} packages=${@:3}
# Create cache directory so artifacts can be saved.
mkdir -p $cache_dir
echo -n "Validating action arguments (version='$version', packages='$packages')..."; echo -n "Validating action arguments (version='$version', packages='$packages')...";
echo $version | grep -o " " > /dev/null echo $version | grep -o " " > /dev/null
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then