mirror of
				https://git.mirrors.martin98.com/https://github.com/actions/upload-artifact
				synced 2025-10-31 08:51:09 +08:00 
			
		
		
		
	Update README.md
This commit is contained in:
		
							parent
							
								
									bbd83ddde5
								
							
						
					
					
						commit
						7ea2547d4d
					
				| @ -9,11 +9,11 @@ See [action.yml](action.yml) | |||||||
| Basic (upload current working directory): | Basic (upload current working directory): | ||||||
| ```yaml | ```yaml | ||||||
| actions: | actions: | ||||||
| - uses: actions/checkout@latest | - uses: actions/checkout@master | ||||||
| 
 | 
 | ||||||
| # Do stuff | # Do stuff | ||||||
| 
 | 
 | ||||||
| - uses: actions/upload-artifact@latest | - uses: actions/upload-artifact@master | ||||||
|   with: |   with: | ||||||
|     name: my-artifact |     name: my-artifact | ||||||
| ``` | ``` | ||||||
| @ -21,13 +21,13 @@ actions: | |||||||
| Upload specific directory: | Upload specific directory: | ||||||
| ```yaml | ```yaml | ||||||
| actions: | actions: | ||||||
| - uses: actions/checkout@latest | - uses: actions/checkout@master | ||||||
| 
 | 
 | ||||||
| - run: mkdir -p path/to/artifact | - run: mkdir -p path/to/artifact | ||||||
| 
 | 
 | ||||||
| - run: echo hello > path/to/artifact/world.txt | - run: echo hello > path/to/artifact/world.txt | ||||||
| 
 | 
 | ||||||
| - uses: actions/upload-artifact@latest | - uses: actions/upload-artifact@master | ||||||
|   with: |   with: | ||||||
|     name: my-artifact |     name: my-artifact | ||||||
|     path: path/to/artifact |     path: path/to/artifact | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Danny McCormick
						Danny McCormick