Skip to content

Commit

Permalink
Stub version for CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
mpchadwick committed Jul 16, 2022
1 parent e31a1b5 commit 1ea06e4
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set Version
run: echo "::set-env name=VERSION::$(echo ${{ github.ref }} | cut -d'/' -f3)"

- name: Set up Go
uses: actions/setup-go@v3
with:
Expand All @@ -29,4 +26,4 @@ jobs:
go get -u github.com/shuLhan/go-bindata/...
$GOBIN/go-bindata -pkg bindata -o bindata/bindata.go etc/*
GO111MODULE=on go get ./...
GO111MODULE=on go build -ldflags "-X main.version=${VERSION}" -o dbanon main.go
GO111MODULE=on go build -ldflags "-X main.version=cibuild" -o dbanon main.go

0 comments on commit 1ea06e4

Please sign in to comment.