diff options
-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 |