Skip to content

Commit

Permalink
fix: Ensure go build cmd output to a dir
Browse files Browse the repository at this point in the history
teilomillet committed Dec 22, 2024
1 parent 7ed851c commit 6e7f7a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
@@ -69,7 +69,8 @@ jobs:
- name: Build
run: |
VERSION=$(git describe --tags --always --dirty)
go build -v -ldflags="-X main.Version=${VERSION}" -o hapax ./...
mkdir -p hapax
go build -v -ldflags="-X main.Version=${VERSION}" -o hapax/hapax ./...
- name: Upload artifact
uses: actions/upload-artifact@v3
@@ -126,7 +127,7 @@ jobs:
uses: softprops/action-gh-release@v1
with:
body: ${{ env.CHANGELOG }}
files: ./hapax
files: ./hapax/hapax
draft: false
prerelease: false
generate_release_notes: true

0 comments on commit 6e7f7a6

Please sign in to comment.