mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/setup-python
				synced 2025-10-31 13:41:06 +08:00 
			
		
		
		
	Merge pull request #456 from akx/patch-1
doc: Add multiple wildcards example to readme
This commit is contained in:
		
						commit
						f0bcf8be03
					
				
							
								
								
									
										15
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								README.md
									
									
									
									
									
								
							| @ -320,6 +320,21 @@ steps: | |||||||
| - run: pipenv install | - run: pipenv install | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | **Using a list of wildcard patterns to cache dependencies** | ||||||
|  | ```yaml | ||||||
|  | steps: | ||||||
|  | - uses: actions/checkout@v3 | ||||||
|  | - uses: actions/setup-python@v4 | ||||||
|  |   with: | ||||||
|  |     python-version: '3.10' | ||||||
|  |     cache: 'pip' | ||||||
|  |     cache-dependency-path: | | ||||||
|  |       **/setup.cfg | ||||||
|  |       **/requirements*.txt | ||||||
|  | - run: pip install -e . -r subdirectory/requirements-dev.txt | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
| # Environment variables | # Environment variables | ||||||
| 
 | 
 | ||||||
|  The `update-environment` flag defaults to `true`. |  The `update-environment` flag defaults to `true`. | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Marko Zivic
						Marko Zivic