mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-06 23:46:13 +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
|
- name: Test code
|
||||||
run: |
|
run: |
|
||||||
./test.sh
|
./test.sh
|
||||||
- name: Build binaries
|
- name: Install gox
|
||||||
|
working-directory: /tmp
|
||||||
run: |
|
run: |
|
||||||
go get github.com/mitchellh/gox
|
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"
|
gox -parallel 4 -os "linux freebsd netbsd windows" -osarch "darwin/i386 darwin/amd64"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user