Skip to content

Commit

Permalink
Fix build for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
erickskrauch committed Feb 1, 2024
1 parent c95ecc2 commit 06afd17
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,8 @@ jobs:
run: >
go build
-trimpath
-ldflags "-w -s -X github.com/elyby/chrly/internal/version.version=${{ steps.version.outputs.version }} -X github.com/elyby/chrly/internal/version.commit=${{ github.sha }}" \
-o ./chrly
./cmd/chrly/...
-ldflags "-w -s -X github.com/elyby/chrly/internal/version.version=${{ steps.version.outputs.version }} -X github.com/elyby/chrly/internal/version.commit=${{ github.sha }}"
-o ./chrly ./cmd/chrly/...
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 06afd17

Please sign in to comment.