mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 07:38:37 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			188 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			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 |