Add docs and tests

This commit is contained in:
Aiqiao Yan
2020-05-07 15:03:20 -04:00
committed by Aiqiao Yan
parent 15fefd9336
commit c534ad2cbd
9 changed files with 209 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/sh
# Validate args
prefix="$1"
if [ -z "$prefix" ]; then
echo "Must supply prefix argument"
exit 1
fi
path="$2"
if [ -z "$path" ]; then
echo "Must supply path argument"
exit 1
fi
mkdir -p $path
echo "$prefix $GITHUB_RUN_ID" > $path/test-file.txt