Skip to content

Commit

Permalink
fix(build): remove use of tags
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthlatest authored Apr 4, 2022
1 parent edb52ec commit 713ed2e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/package-releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,28 @@ jobs:
# building go package based on os version - we use release tag for version
- name: ABC Package for Linux and Darwin-amd64
if: ${{matrix.os == 'linux'}}
run: go build -o "abc-${{github.event.release.tag_name}}" -tags 'oss' ./cmd/abc/...
run: go build -o "abc-${{github.event.release.tag_name}}" ./cmd/abc/...
env:
GOOS: linux
GOARCH: amd64

- name: Package for Windows
if: ${{matrix.os == 'windows'}}
run: go build -o "abc-${{github.event.release.tag_name}}.exe" -tags 'oss' ./cmd/abc/...
run: go build -o "abc-${{github.event.release.tag_name}}.exe" ./cmd/abc/...
env:
GOOS: windows
GOARCH: amd64

- name: Package for Darwin-Arm64
if: ${{matrix.os == 'arm64'}}
run: go build -o "abc-${{matrix.os}}-${{github.event.release.tag_name}}" -tags 'oss' ./cmd/abc/...
run: go build -o "abc-${{matrix.os}}-${{github.event.release.tag_name}}" ./cmd/abc/...
env:
GOOS: darwin
GOARCH: arm64

- name: Package for Darwin-AMD64
if: ${{matrix.os == 'amd64'}}
run: go build -o "abc-${{github.event.release.tag_name}}" -tags 'oss' ./cmd/abc/...
run: go build -o "abc-${{github.event.release.tag_name}}" ./cmd/abc/...
env:
GOOS: darwin
GOARCH: amd64
Expand Down

0 comments on commit 713ed2e

Please sign in to comment.