mirror of
				https://github.com/docker/setup-buildx-action.git
				synced 2025-10-31 01:20:09 +08:00 
			
		
		
		
	Merge pull request #411 from crazy-max/test-windows
ci: test container builder on windows
This commit is contained in:
		
						commit
						afeb29a6e0
					
				
							
								
								
									
										21
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										21
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							| @ -581,3 +581,24 @@ jobs: | |||||||
|         with: |         with: | ||||||
|           version: v0.11.2 |           version: v0.11.2 | ||||||
|           cache-binary: ${{ matrix.cache }} |           cache-binary: ${{ matrix.cache }} | ||||||
|  | 
 | ||||||
|  |   windows-error: | ||||||
|  |     runs-on: windows-latest | ||||||
|  |     steps: | ||||||
|  |       - | ||||||
|  |         name: Checkout | ||||||
|  |         uses: actions/checkout@v4 | ||||||
|  |       - | ||||||
|  |         name: Set up Docker Buildx | ||||||
|  |         id: buildx | ||||||
|  |         continue-on-error: true | ||||||
|  |         uses: ./ | ||||||
|  |       - | ||||||
|  |         name: Check | ||||||
|  |         run: | | ||||||
|  |           echo "${{ toJson(steps.buildx) }}" | ||||||
|  |           if [ "${{ steps.buildx.outcome }}" != "failure" ] || [ "${{ steps.buildx.conclusion }}" != "success" ]; then | ||||||
|  |             echo "::error::Should have failed" | ||||||
|  |             exit 1 | ||||||
|  |           fi | ||||||
|  |         shell: bash | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 CrazyMax
						CrazyMax