mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-05 10:12:55 +01:00
11 lines
188 B
Bash
11 lines
188 B
Bash
|
#!/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
|