1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-14 01:56:17 +01:00
cache/__tests__/create-cache-files.sh
2020-02-13 12:38:56 -05:00

11 lines
No EOL
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