1
0
mirror of https://github.com/actions/cache.git synced 2025-06-27 17:52:49 +08:00
cache/__tests__/create-cache-files.sh
2020-03-21 11:08:46 +09:00

12 lines
188 B
Bash
Executable File

#!/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