Add path argument to create-cache-files.sh

pull/250/head
David Hadka 5 years ago committed by GitHub
parent 4a724707e9
commit 64f8769515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -7,5 +7,11 @@ if [ -z "$prefix" ]; then
exit 1 exit 1
fi fi
mkdir test-cache path="$2"
echo "$prefix $GITHUB_RUN_ID" > test-cache/test-file.txt if [ -z "$path" ]; then
echo "Must supply path argument"
exit 1
fi
mkdir -p $path
echo "$prefix $GITHUB_RUN_ID" > $path/test-file.txt

Loading…
Cancel
Save