mirror of
				https://github.com/actions/setup-dotnet.git
				synced 2025-11-04 12:13:46 +00:00 
			
		
		
		
	Update e2e tests
This commit is contained in:
		
							parent
							
								
									302825fe54
								
							
						
					
					
						commit
						1ebef80e4b
					
				
							
								
								
									
										30
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										30
									
								
								.github/workflows/workflow.yml
									
									
									
									
										vendored
									
									
								
							@ -78,7 +78,7 @@ jobs:
 | 
				
			|||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          dotnet-version: 3.1.201
 | 
					          dotnet-version: 3.1.201
 | 
				
			||||||
          # We are including this veriable to force the generation of the nuget config file to verify that it is created in the correct place
 | 
					          # We are including this variable to force the generation of the nuget config file to verify that it is created in the correct place
 | 
				
			||||||
          source-url: https://api.nuget.org/v3/index.json
 | 
					          source-url: https://api.nuget.org/v3/index.json
 | 
				
			||||||
        env:
 | 
					        env:
 | 
				
			||||||
          NUGET_AUTH_TOKEN: NOTATOKEN
 | 
					          NUGET_AUTH_TOKEN: NOTATOKEN
 | 
				
			||||||
@ -115,6 +115,26 @@ jobs:
 | 
				
			|||||||
        shell: pwsh
 | 
					        shell: pwsh
 | 
				
			||||||
        run: __tests__/verify-dotnet.ps1 3.1 2.2
 | 
					        run: __tests__/verify-dotnet.ps1 3.1 2.2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  test-setup-prerelease-version:
 | 
				
			||||||
 | 
					    runs-on: ${{ matrix.operating-system }}
 | 
				
			||||||
 | 
					    strategy:
 | 
				
			||||||
 | 
					      fail-fast: false
 | 
				
			||||||
 | 
					      matrix:
 | 
				
			||||||
 | 
					        operating-system: [ubuntu-latest, windows-latest, macOS-latest]
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Checkout
 | 
				
			||||||
 | 
					        uses: actions/checkout@v3
 | 
				
			||||||
 | 
					      - name: Clear toolcache
 | 
				
			||||||
 | 
					        shell: pwsh
 | 
				
			||||||
 | 
					        run: __tests__/clear-toolcache.ps1 ${{ runner.os }}
 | 
				
			||||||
 | 
					      - name: Setup dotnet '7.0.100-preview.7.22377.5'
 | 
				
			||||||
 | 
					        uses: ./
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          dotnet-version: '7.0.100-preview.7.22377.5'
 | 
				
			||||||
 | 
					      - name: Verify dotnet
 | 
				
			||||||
 | 
					        shell: pwsh
 | 
				
			||||||
 | 
					        run: __tests__/verify-dotnet.ps1 7.0.100-preview.7.22377.5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  test-setup-latest-patch-version:
 | 
					  test-setup-latest-patch-version:
 | 
				
			||||||
    runs-on: ${{ matrix.operating-system }}
 | 
					    runs-on: ${{ matrix.operating-system }}
 | 
				
			||||||
    strategy:
 | 
					    strategy:
 | 
				
			||||||
@ -134,10 +154,14 @@ jobs:
 | 
				
			|||||||
      - name: Setup dotnet 2.2.x
 | 
					      - name: Setup dotnet 2.2.x
 | 
				
			||||||
        uses: ./
 | 
					        uses: ./
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          dotnet-version: 2.2.x
 | 
					          dotnet-version: 2.2.X
 | 
				
			||||||
 | 
					      - name: Setup dotnet 2.2.x
 | 
				
			||||||
 | 
					        uses: ./
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          dotnet-version: 5.0.*
 | 
				
			||||||
      - name: Verify dotnet
 | 
					      - name: Verify dotnet
 | 
				
			||||||
        shell: pwsh
 | 
					        shell: pwsh
 | 
				
			||||||
        run: __tests__/verify-dotnet.ps1 3.1 2.2
 | 
					        run: __tests__/verify-dotnet.ps1 3.1 2.2 5.0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  test-setup-with-wildcard:
 | 
					  test-setup-with-wildcard:
 | 
				
			||||||
    runs-on: ${{ matrix.operating-system }}
 | 
					    runs-on: ${{ matrix.operating-system }}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user