Skip to content

Commit

Permalink
Disable CGO in github action (#8)
Browse files Browse the repository at this point in the history
* disable CGO

* version
  • Loading branch information
fishnix authored Jul 17, 2020
1 parent 802b99f commit 00e33cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@ jobs:
releases-matrix:
name: Release Go Binary
runs-on: ubuntu-latest
env:
CGO_ENABLED: 0
strategy:
matrix:
# build and publish in parallel: linux/amd64, windows/amd64, darwin/amd64
goos: [linux, windows, darwin]
goarch: [amd64]
steps:
- name: Set APP_VERSION env
run: echo ::set-env name=APP_VERSION::$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev )
- name: Set BUILD_TIME env
run: echo ::set-env name=BUILD_TIME::$(date)
- uses: actions/checkout@v2
- uses: wangyoucao577/go-release-action@master
with:
Expand Down
2 changes: 1 addition & 1 deletion deco/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package deco

// Version is the main version number that is being run at the moment.
const Version = "0.5.0"
const Version = "1.0.2"

// VersionPrerelease is a pre-release marker for the version. If this is ""
// then it means that it is a final release. Otherwise, this is a pre-release
Expand Down

0 comments on commit 00e33cc

Please sign in to comment.