1
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2024-09-19 17:36:43 +00:00
cache/__tests__/create-cache-files.sh

11 lines
188 B
Bash
Raw Normal View History

2020-02-13 17:38:56 +00:00
#!/bin/sh
# Validate args
prefix="$1"
if [ -z "$prefix" ]; then
echo "Must supply prefix argument"
exit 1
fi
mkdir test-cache
echo "$prefix $GITHUB_RUN_ID" > test-cache/test-file.txt