mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 01:24:02 +00:00 
			
		
		
		
	Update the NPM PWSH shell example
This commit is contained in:
		
							parent
							
								
									6cdb82b00f
								
							
						
					
					
						commit
						84ef8ec7af
					
				@ -325,7 +325,7 @@ After [deprecation](https://github.blog/changelog/2022-10-11-github-actions-depr
 | 
				
			|||||||
### PWSH shell
 | 
					### PWSH shell
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
- name: Get npm cache directory
 | 
					- name: Get npm cache directory
 | 
				
			||||||
  id: npm-cache
 | 
					  id: npm-cache-dir
 | 
				
			||||||
  shell: pwsh
 | 
					  shell: pwsh
 | 
				
			||||||
  run: echo "dir=$(npm config get cache)" >> ${env:GITHUB_OUTPUT}
 | 
					  run: echo "dir=$(npm config get cache)" >> ${env:GITHUB_OUTPUT}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user