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:
parent
78809b91d7
commit
143c84bf60
7 changed files with 20 additions and 48 deletions
__tests__
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue