From 5d3ed6b741083c900b3c286534e57436a737e106 Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Thu, 21 May 2020 23:17:33 +0700 Subject: [PATCH] Add github workflow (#13) --- .github/workflows/release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71f8d55..f3f4504 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,10 +35,18 @@ jobs: chmod +x ./prepare_assets.sh ./prepare_assets.sh + # get go rice tool + - name: get go rice tool + run: go get github.com/GeertJohan/go.rice/rice + + # run go rice embed + - name: run go rice embed + run: ${HOME}/go/bin/rice embed-go + # build and make the releases - - uses: wangyoucao577/go-release-action@master + - name: build and make the releases + uses: wangyoucao577/go-release-action@master with: - pre_command: "go get github.com/GeertJohan/go.rice/rice && ${GOPATH}/bin/rice embed-go" github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }}