mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-01 01:25:27 +08:00 
			
		
		
		
	Clean up .NET SDK installation
This commit is contained in:
		
							
								
								
									
										21
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/ci.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -18,11 +18,11 @@ jobs: | |||||||
|     - name: Checkout |     - name: Checkout | ||||||
|       uses: actions/checkout@master |       uses: actions/checkout@master | ||||||
|  |  | ||||||
|     - name: Setup dotnet 5 and 6.0.100 |     - name: Setup .NET SDK | ||||||
|       uses: actions/setup-dotnet@v1 |       uses: actions/setup-dotnet@v1 | ||||||
|       with: |       with: | ||||||
|         dotnet-version: |  |         dotnet-version: |  | ||||||
|           5.0.x |           5.0.301 | ||||||
|           6.0.100 |           6.0.100 | ||||||
|  |  | ||||||
|     - name: Setup Node.js |     - name: Setup Node.js | ||||||
| @@ -76,20 +76,13 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           fetch-depth: 0 |           fetch-depth: 0 | ||||||
|  |  | ||||||
|       - name: Setup dotnet 3.1.402 |       - name: Setup .NET SDK | ||||||
|         uses: actions/setup-dotnet@v1 |         uses: actions/setup-dotnet@v1 | ||||||
|         with: |         with: | ||||||
|           dotnet-version: 3.1.402 |           dotnet-version: |  | ||||||
|  |             3.1.402 | ||||||
|       - name: Setup dotnet 5.0.301 |             5.0.301 | ||||||
|         uses: actions/setup-dotnet@v1 |             6.0.100 | ||||||
|         with: |  | ||||||
|           dotnet-version: 5.0.301 |  | ||||||
|  |  | ||||||
|       - name: Setup dotnet 6.0.100 |  | ||||||
|         uses: actions/setup-dotnet@v1 |  | ||||||
|         with: |  | ||||||
|           dotnet-version: 6.0.100 |  | ||||||
|  |  | ||||||
|       - name: Integration Tests |       - name: Integration Tests | ||||||
|         shell: bash |         shell: bash | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								.github/workflows/docs.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/docs.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -24,10 +24,12 @@ jobs: | |||||||
|       with: |       with: | ||||||
|         fetch-depth: 0 |         fetch-depth: 0 | ||||||
|  |  | ||||||
|     - name: Setup dotnet 6.0.100 |     - name: Setup .NET SDK | ||||||
|       uses: actions/setup-dotnet@v1 |       uses: actions/setup-dotnet@v1 | ||||||
|       with: |       with: | ||||||
|         dotnet-version: 6.0.100 |         dotnet-version: |  | ||||||
|  |           5.0.301 | ||||||
|  |           6.0.100 | ||||||
|  |  | ||||||
|     - name: Setup Node.js |     - name: Setup Node.js | ||||||
|       uses: actions/setup-node@v2 |       uses: actions/setup-node@v2 | ||||||
|   | |||||||
							
								
								
									
										46
									
								
								.github/workflows/publish.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										46
									
								
								.github/workflows/publish.yaml
									
									
									
									
										vendored
									
									
								
							| @@ -24,15 +24,12 @@ jobs: | |||||||
|     - name: Checkout |     - name: Checkout | ||||||
|       uses: actions/checkout@master |       uses: actions/checkout@master | ||||||
|  |  | ||||||
|     - name: Setup dotnet 5.0.301 |     - name: Setup .NET SDK | ||||||
|       uses: actions/setup-dotnet@v1 |       uses: actions/setup-dotnet@v1 | ||||||
|       with: |       with: | ||||||
|         dotnet-version: 5.0.301 |         dotnet-version: |  | ||||||
|  |           5.0.301 | ||||||
|     - name: Setup dotnet 6.0.100 |           6.0.100 | ||||||
|       uses: actions/setup-dotnet@v1 |  | ||||||
|       with: |  | ||||||
|         dotnet-version: 6.0.100 |  | ||||||
|  |  | ||||||
|     - name: Build |     - name: Build | ||||||
|       shell: bash |       shell: bash | ||||||
| @@ -68,20 +65,13 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           fetch-depth: 0 |           fetch-depth: 0 | ||||||
|  |  | ||||||
|       - name: Setup dotnet 3.1.402 |       - name: Setup .NET SDK | ||||||
|         uses: actions/setup-dotnet@v1 |         uses: actions/setup-dotnet@v1 | ||||||
|         with: |         with: | ||||||
|           dotnet-version: 3.1.402 |           dotnet-version: |  | ||||||
|  |             3.1.402 | ||||||
|       - name: Setup dotnet 5.0.301 |             5.0.301 | ||||||
|         uses: actions/setup-dotnet@v1 |             6.0.100 | ||||||
|         with: |  | ||||||
|           dotnet-version: 5.0.301 |  | ||||||
|  |  | ||||||
|       - name: Setup dotnet 6.0.100 |  | ||||||
|         uses: actions/setup-dotnet@v1 |  | ||||||
|         with: |  | ||||||
|           dotnet-version: 6.0.100 |  | ||||||
|  |  | ||||||
|       - name: Build |       - name: Build | ||||||
|         shell: bash |         shell: bash | ||||||
| @@ -104,21 +94,13 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           fetch-depth: 0 |           fetch-depth: 0 | ||||||
|  |  | ||||||
|       - name: Setup dotnet 3.1.402 |       - name: Setup .NET SDK | ||||||
|         uses: actions/setup-dotnet@v1 |         uses: actions/setup-dotnet@v1 | ||||||
|         with: |         with: | ||||||
|           dotnet-version: 3.1.402 |           dotnet-version: |  | ||||||
|  |             3.1.402 | ||||||
|       - name: Setup dotnet 5.0.301 |             5.0.301 | ||||||
|         uses: actions/setup-dotnet@v1 |             6.0.100 | ||||||
|         with: |  | ||||||
|           dotnet-version: 5.0.301 |  | ||||||
|  |  | ||||||
|       - name: Setup dotnet 6.0 |  | ||||||
|         uses: actions/setup-dotnet@v1 |  | ||||||
|         with: |  | ||||||
|           dotnet-version: 6.0.x |  | ||||||
|           include-prerelease: true |  | ||||||
|  |  | ||||||
|       - name: Publish |       - name: Publish | ||||||
|         shell: bash |         shell: bash | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Patrik Svensson
					Patrik Svensson