mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 10:45:29 +00:00
Make cache directory first thing.
This commit is contained in:
parent
63a7ea6f1c
commit
911023297b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue