Skip to content

Commit

Permalink
add go install cmd/... support
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Saidl authored and jansaidl committed Mar 8, 2024
1 parent c14d08e commit b8aa3d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,39 +13,39 @@ jobs:
include:
- name: linux amd64
os: ubuntu-latest
buildCmd: env GOOS=linux GOARCH=amd64 go build -o builds/zcli-linux-amd64 -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go
buildCmd: env GOOS=linux GOARCH=amd64 go build -o builds/zcli-linux-amd64 -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd/zcli.Version=${{ github.event.release.tag_name }}" ./cmd/zcli/main.go
file: zcli-linux-amd64
compress: true
strip: true
runLint: true
runTests: true
- name: linux 386
os: ubuntu-latest
buildCmd: env GOOS=linux GOARCH=386 go build -o builds/zcli-linux-i386 -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go
buildCmd: env GOOS=linux GOARCH=386 go build -o builds/zcli-linux-i386 -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd/zcli.Version=${{ github.event.release.tag_name }}" ./cmd/zcli/main.go
file: zcli-linux-i386
compress: true
strip: true
runLint: true
runTests: true
- name: darwin amd64
os: macos-latest
buildCmd: env GOOS=darwin GOARCH=amd64 go build -o builds/zcli-darwin-amd64 -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go
buildCmd: env GOOS=darwin GOARCH=amd64 go build -o builds/zcli-darwin-amd64 -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd/zcli.Version=${{ github.event.release.tag_name }}" ./cmd/zcli/main.go
file: zcli-darwin-amd64
compress: false
strip: false
runLint: true
runTests: true
- name: darwin arm64
os: macos-latest
buildCmd: env GOOS=darwin GOARCH=arm64 go build -o builds/zcli-darwin-arm64 -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go
buildCmd: env GOOS=darwin GOARCH=arm64 go build -o builds/zcli-darwin-arm64 -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd/zcli.Version=${{ github.event.release.tag_name }}" ./cmd/zcli/main.go
file: zcli-darwin-arm64
compress: false
strip: false
runLint: false
runTests: false
- name: windows amd64
os: ubuntu-latest
buildCmd: env GOOS=windows GOARCH=amd64 go build -o builds/zcli-win-x64.exe -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd.Version=${{ github.event.release.tag_name }}" ./cmd/main.go
buildCmd: env GOOS=windows GOARCH=amd64 go build -o builds/zcli-win-x64.exe -ldflags "-s -w -X github.com/zeropsio/zcli/src/cmd/zcli.Version=${{ github.event.release.tag_name }}" ./cmd/zcli/main.go
file: zcli-win-x64.exe
compress: false
strip: false
Expand Down
File renamed without changes.

0 comments on commit b8aa3d5

Please sign in to comment.