mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Speed-up nightly builds workflow by running independent jobs for each platform target
This commit is contained in:
4
.github/workflows/nightly-build.yaml
vendored
4
.github/workflows/nightly-build.yaml
vendored
@@ -83,9 +83,9 @@ jobs:
|
||||
- name: Cross-compile
|
||||
run: |
|
||||
export GITCOMMIT="$(git describe --no-match --always --abbrev=9 --dirty --broken)-nightly"
|
||||
binName = "odo-$GOOS-$GOARCH"
|
||||
binName="odo-$GOOS-$GOARCH"
|
||||
if [ $GOOS == "windows" ]; then
|
||||
binName = "${binName}.exe"
|
||||
binName="${binName}.exe"
|
||||
fi
|
||||
go build -o "$binName" ./cmd/odo/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user