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:
parent
e64057b803
commit
19719becf5
2
.github/workflows/cd.yml
vendored
2
.github/workflows/cd.yml
vendored
@ -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
|
||||
|
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user