diff options
author | Dawid Dziurla <dawidd0811@gmail.com> | 2020-03-25 11:03:59 +0100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-03-25 21:26:15 +1100 |
commit | 19719becf584d44a3b1e08330663a395569dc666 (patch) | |
tree | 6dd86e4bcea051b089c4f81343ccb720ecd2fe5e /.github/workflows | |
parent | e64057b803ef8941f3241665c4d644148c40bf40 (diff) |
workflows: run goreleaser as a build step for CI
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/cd.yml | 2 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 10 |
2 files changed, 3 insertions, 9 deletions
diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 792ac05dd..84185673f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -19,8 +19,6 @@ jobs: go-version: 1.14.x - name: Run goreleaser uses: goreleaser/goreleaser-action@v1 - with: - args: release --rm-dist env: GITHUB_TOKEN: ${{secrets.GITHUB_API_TOKEN}} - name: Get tag diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4a321a5e0..dbb8854fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,11 +30,7 @@ jobs: - name: Test code run: | ./test.sh - - name: Install gox - working-directory: /tmp - run: | - go get github.com/mitchellh/gox - echo "::add-path::$(go env GOPATH)/bin" - name: Build binaries - run: | - gox -parallel 4 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64" + uses: goreleaser/goreleaser-action@v1 + with: + args: --skip-publish --snapshot |