1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-11-30 09:16:47 +02:00

workflows: install gox in separate step in /tmp directory

avoid Go trying to add a dependency to go.mod file
This commit is contained in:
Dawid Dziurla 2020-03-25 10:51:04 +01:00 committed by Jesse Duffield
parent 672667aa3e
commit e64057b803

View File

@ -30,8 +30,11 @@ jobs:
- name: Test code
run: |
./test.sh
- name: Build binaries
- name: Install gox
working-directory: /tmp
run: |
go get github.com/mitchellh/gox
export PATH="$(go env GOPATH)/bin:$PATH"
echo "::add-path::$(go env GOPATH)/bin"
- name: Build binaries
run: |
gox -parallel 4 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64"