From 824b31aba278cb51d64eab9908eb90d03f69f0fd Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Thu, 21 May 2020 22:22:41 +0700 Subject: [PATCH] Update Gitlab workflow --- .github/workflows/release.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 71f8d55..a7cb9d8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,10 +35,14 @@ 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 + # 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" + pre_command: "rice embed-go" github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }}