Update cache/restore/action.yaml
This commit is contained in:
		
							
								
								
									
										3
									
								
								cache/restore/action.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								cache/restore/action.yaml
									
									
									
									
										vendored
									
									
								
							@@ -15,6 +15,7 @@ runs:
 | 
			
		||||
      - /mnt/swarm/gitea/runner/cache:/cache
 | 
			
		||||
  steps:
 | 
			
		||||
    - run: |
 | 
			
		||||
        mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" . || echo "Cache not found" && exit
 | 
			
		||||
        [ ! -f "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" ] && echo "Cache not found" && exit
 | 
			
		||||
        mv "/cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz" .
 | 
			
		||||
        tar -xzf "archive.tar.gz"
 | 
			
		||||
        echo "Cache restored: /cache/$GITHUB_REPOSITORY/${{ inputs.key }}/archive.tar.gz"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user