mirror of
				https://github.com/actions/cache.git
				synced 2025-10-31 23:36:22 +07:00 
			
		
		
		
	Add path argument to create-cache-files.sh
This commit is contained in:
		| @ -7,5 +7,11 @@ if [ -z "$prefix" ]; then | |||||||
|   exit 1 |   exit 1 | ||||||
| fi | fi | ||||||
|  |  | ||||||
| mkdir test-cache | path="$2" | ||||||
| echo "$prefix $GITHUB_RUN_ID" > test-cache/test-file.txt | if [ -z "$path" ]; then | ||||||
|  |   echo "Must supply path argument" | ||||||
|  |   exit 1 | ||||||
|  | fi | ||||||
|  |  | ||||||
|  | mkdir -p $path | ||||||
|  | echo "$prefix $GITHUB_RUN_ID" > $path/test-file.txt | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 David Hadka
					David Hadka