Make cache directory first thing.
This commit is contained in:
parent
63a7ea6f1c
commit
911023297b
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue