1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2025-05-16 05:49:53 +02:00

Revert "Fix caching directories outside of the working directory (relative paths)"

This commit is contained in:
alivahabi2112 2020-04-12 06:13:41 +04:30 committed by GitHub
parent 78809b91d7
commit 143c84bf60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 20 additions and 48 deletions

View file

@ -7,11 +7,5 @@ if [ -z "$prefix" ]; then
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
mkdir test-cache
echo "$prefix $GITHUB_RUN_ID" > test-cache/test-file.txt