Update main.yml

This commit is contained in:
John Harker 2020-06-07 19:42:38 +01:00 committed by GitHub
parent 916eb4933d
commit 54b1a3c793
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,10 +18,8 @@ jobs:
name: Unshallow name: Unshallow
run: git fetch --prune --unshallow run: git fetch --prune --unshallow
- -
name: Set up Go name: Cross-Compile using Docker
uses: actions/setup-go@v2 run: docker run --rm --privileged -v ($pwd):/go/src/github.com/postwoman-io/postwoman-proxy -v /var/run/docker.sock:/var/run/docker.sock -w /go/src/github.com/postwoman-io/postwoman-proxy mailchain/goreleaser-xcgo --snapshot --rm-dist
with:
go-version: 1.14
- -
name: Run GoReleaser name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2