File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4747 - name : Checkout code
4848 uses : actions/checkout@v5
4949 - name : go fmt ./... (go version ${{ matrix.go-version }})
50- run : test -z "$( go fmt ./...)"
50+ run : go fmt ./...; git status && git diff --exit-code
5151 - name : go test -tags goolm ./... (go version ${{ matrix.go-version }})
5252 run : go test -tags goolm ./...
5353 build-upload :
7272 - name : Checkout code
7373 uses : actions/checkout@v5
7474 - name : Build/upload matterbridge for ${{ matrix.platform.goos }}-${{ matrix.arch }}
75+ env :
76+ GOOS : ${{ matrix.platform.goos }}
77+ GOARCH : ${{ matrix.arch }}
7578 run : |
76- CGO_ENABLED=0 GOOS=${{ matrix.platform.goos }} GOARCH=${{ matrix.arch }} go build -tags goolm -ldflags "-s -X github.com/matterbridge-org/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o matterbridge
79+ CGO_ENABLED=0 go build -tags goolm -ldflags "-s -X github.com/matterbridge-org/matterbridge/version.GitHash=$(git log --pretty=format:'%h' -n 1)" -o matterbridge
7780 - name : Upload matterbridge-${{ matrix.name }}-${{ matrix.arch }}
7881 uses : actions/upload-artifact@v4
7982 with :
You can’t perform that action at this time.
0 commit comments