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:
parent
672667aa3e
commit
e64057b803
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user