Skip to content

Commit

Permalink
Build/upload goserver too
Browse files Browse the repository at this point in the history
  • Loading branch information
skx committed Feb 24, 2019
1 parent e0d7961 commit 0630f5b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/build
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,9 @@ for OS in ${BUILD_PLATFORMS[@]}; do

# Build the main-binary
go build -ldflags "-X main.version=$(git describe --tags 2>/dev/null || echo 'master')" -o "${BASE}-${SUFFIX}"

# Build the HTTP-server too
cd ./goserver && go build -o ../goserver-${SUFFIX} . && cd ..

done
done
2 changes: 1 addition & 1 deletion .github/main.workflow
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ action "Test" {
##
action "Upload" {
uses = "skx/github-action-publish-binaries@master"
args = "gobasic-*"
args = "go*-*"
secrets = ["GITHUB_TOKEN"]
}

0 comments on commit 0630f5b

Please sign in to comment.