Skip to content

Commit

Permalink
update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Sora233 committed Jan 10, 2021
1 parent dd85cff commit 9b42dec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ jobs:
goarch: "386"
steps:
- uses: actions/checkout@v2
- name: Set RELEASE_VERSION env
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV
- uses: wangyoucao577/[email protected]
with:
build_command: make build
github_token: ${{ secrets.GITHUB_TOKEN }}
goversion: "https://dl.google.com/go/go1.15.6.linux-amd64.tar.gz"
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "https://golang.org/dl/go1.15.6.linux-amd64.tar.gz"
ldflags: -w -s -X "github.com/Sora233/buntdb-cli/main.COMMIT=${{ env.RELEASE_VERSION }}" -X "github.com/Sora233/buntdb-cli/main.GOVERSION=go1.15.6.linux-amd64"
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/.idea

/buntdb-cli
/buntdb-cli*
/vendor
/.coverage
/coverage.html
Expand Down

0 comments on commit 9b42dec

Please sign in to comment.