Fix build for CI

This commit is contained in:
ErickSkrauch 2024-02-01 08:03:38 +01:00
parent c95ecc2491
commit 06afd17557
No known key found for this signature in database
GPG Key ID: 669339FCBB30EE0E

View File

@ -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