mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 15:48:39 +08:00 
			
		
		
		
	(R renv) Remove unused renv-cache-path variable
This commit is contained in:
		
							parent
							
								
									92f67a4829
								
							
						
					
					
						commit
						0e9fa9fae8
					
				| 
						 | 
				
			
			@ -468,11 +468,6 @@ For renv, the cache directory will vary by OS. The `RENV_PATHS_ROOT` environment
 | 
			
		|||
    cat("##[set-output name=os-version;]", sessionInfo()$running, "\n", sep = "")
 | 
			
		||||
    cat("##[set-output name=r-version;]", R.Version()$version.string, sep = "")
 | 
			
		||||
  shell: Rscript {0}
 | 
			
		||||
- name: Get renv cache path
 | 
			
		||||
  id: get-renv-cache-path
 | 
			
		||||
  run: |
 | 
			
		||||
    cat("##[set-output name=renv-cache-path;]", renv::paths$cache(), sep = "")
 | 
			
		||||
  shell: Rscript {0}
 | 
			
		||||
- name: Restore Renv package cache
 | 
			
		||||
  uses: actions/cache@v2
 | 
			
		||||
  with:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user