mirror of
				https://github.com/actions-rs/toolchain.git
				synced 2025-10-31 16:43:54 +00:00 
			
		
		
		
	Link to recipes
This commit is contained in:
		
							parent
							
								
									8e603f32c5
								
							
						
					
					
						commit
						cfc1332c14
					
				
							
								
								
									
										1
									
								
								.github/FUNDING.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.github/FUNDING.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | custom: https://svartalf.info/donate/ | ||||||
							
								
								
									
										14
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								README.md
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | |||||||
| # `rustup toolchain` Action | # `rust-toolchain` Action | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
| [](https://gitter.im/actions-rs/community) | [](https://gitter.im/actions-rs/community) | ||||||
| @ -25,14 +25,24 @@ jobs: | |||||||
|         with: |         with: | ||||||
|             toolchain: nightly |             toolchain: nightly | ||||||
|             override: true |             override: true | ||||||
|  | 
 | ||||||
|  |       # `cargo check` command here will use installed `nightly` | ||||||
|  |       # as it set as an "override" for current directory | ||||||
|  | 
 | ||||||
|  |       - name: Run cargo check | ||||||
|  |         uses: actions-rs/cargo@v1 | ||||||
|  |         with: | ||||||
|  |           command: check | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | See [additional recipes here](https://github.com/actions-rs/meta). | ||||||
|  | 
 | ||||||
| ## Inputs | ## Inputs | ||||||
| 
 | 
 | ||||||
| * `toolchain` (*required*): Toolchain name, see [rustup page](https://github.com/rust-lang/rustup.rs#toolchain-specification) for details.\ | * `toolchain` (*required*): Toolchain name, see [rustup page](https://github.com/rust-lang/rustup.rs#toolchain-specification) for details.\ | ||||||
|   Examples: `stable`, `nightly`, `nightly-2019-04-20` |   Examples: `stable`, `nightly`, `nightly-2019-04-20` | ||||||
| * `target`: Additionally install specific target for this toolchain (ex. `x86_64-apple-darwin`) | * `target`: Additionally install specific target for this toolchain (ex. `x86_64-apple-darwin`) | ||||||
| * `default`: Set installed toolchain as default (executes `rustup toolchain default {TOOLCHAIN}`) | * `default`: Set installed toolchain as default (executes `rustup toolchain default {toolchain}`) | ||||||
| * `override`: Set installed toolchain as an override for current directory | * `override`: Set installed toolchain as an override for current directory | ||||||
| 
 | 
 | ||||||
| ## Components | ## Components | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user