1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

workflows: run goreleaser as a build step for CI

This commit is contained in:
Dawid Dziurla 2020-03-25 11:03:59 +01:00 committed by Jesse Duffield
parent e64057b803
commit 19719becf5
2 changed files with 3 additions and 9 deletions

View File

@ -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

View File

@ -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