Skip to content

Commit

Permalink
feat: set build flags?
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Nov 18, 2023
1 parent 5589711 commit 0fec07b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ jobs:
with:
go-version: "1.19"
- name: Build
run: go build -o stories ./cmd/stories/main.go
run: >
go build
-ldflags "-X github.com/cfoust/cy/pkg/version.Version=\"readme\""
-o stories ./cmd/stories/main.go
- uses: charmbracelet/vhs-action@v1
with:
path: "ci/cy.tape"
Expand Down

0 comments on commit 0fec07b

Please sign in to comment.