add windows port allot by "netsh dynamicport" (#15986)

This commit is contained in:
yanggang 2022-11-03 00:10:26 +08:00 committed by GitHub
parent 0d49b365ff
commit d2c9a9e395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,6 +34,7 @@ jobs:
CGO_ENABLED: 0 CGO_ENABLED: 0
GO111MODULE: on GO111MODULE: on
run: | run: |
netsh int ipv4 set dynamicport tcp start=60000 num=61000
go build --ldflags="-s -w" -o %GOPATH%\bin\minio.exe go build --ldflags="-s -w" -o %GOPATH%\bin\minio.exe
go test -v --timeout 50m ./... go test -v --timeout 50m ./...
- name: Build on ${{ matrix.os }} - name: Build on ${{ matrix.os }}