From b4b8471a28e67358d06d7c54de8881bc10a312a9 Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Wed, 19 Aug 2020 22:35:49 +0100 Subject: [PATCH] build windows release (#43) * build windows release * build a release snapshot --- .github/workflows/build.yaml | 14 ++++++++++++++ .goreleaser.yaml | 1 + 2 files changed, 15 insertions(+) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e776c15..ff489da 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,3 +8,17 @@ jobs: - uses: actions/checkout@v1 - name: Build the Docker image run: docker build . + - name: Set up Go + uses: actions/setup-go@v1 + with: + go-version: 1.14.x + - name: Build release snapshot + run: make snapshot + - name: Archive release snapshot + uses: actions/upload-artifact@v2 + with: + name: release-snapshot + path: | + bin/*.tar.gz + bin/*.txt + bin/*.yaml diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 55ef4fc..c693797 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,6 +6,7 @@ builds: goos: - linux - darwin + - windows goarch: - amd64 flags: