mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-10-31 23:33:45 +00:00 
			
		
		
		
	Add example for SxS testing to Readme
This commit is contained in:
		
							parent
							
								
									352338157c
								
							
						
					
					
						commit
						a1c7110c2a
					
				
							
								
								
									
										22
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								README.md
									
									
									
									
									
								
							| @ -34,7 +34,7 @@ Matrix Testing: | ||||
| ```yaml | ||||
| jobs: | ||||
|   build: | ||||
|     runs-on: ubuntu-16.04 | ||||
|     runs-on: ubuntu-latest | ||||
|     strategy: | ||||
|       matrix: | ||||
|         dotnet: [ '2.2.103', '3.0', '3.1.x' ] | ||||
| @ -48,6 +48,26 @@ jobs: | ||||
|       - run: dotnet build <my project> | ||||
| ``` | ||||
| 
 | ||||
| Side by Side Testing: | ||||
| ```yaml | ||||
| jobs: | ||||
|   build: | ||||
|     runs-on: ubuntu-latest | ||||
|     name: Dotnet Side by Side testing sample | ||||
|     steps: | ||||
|       - uses: actions/checkout@v2 | ||||
|       - name: Setup dotnet | ||||
|         uses: actions/setup-dotnet@v1 | ||||
|         with: | ||||
|           dotnet-version: '2.2.103' | ||||
|       - name: Setup dotnet | ||||
|         uses: actions/setup-dotnet@v1 | ||||
|         with: | ||||
|           dotnet-version: '3.1.x' | ||||
|       - run: dotnet build <my project> | ||||
|       - run: dotnet test <my project> | ||||
| ``` | ||||
| 
 | ||||
| Authentication for nuget feeds: | ||||
| ```yaml | ||||
| steps: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user