Update Gitlab workflow

This commit is contained in:
Khanh Ngo 2020-05-21 22:22:41 +07:00
parent 29c7a43a23
commit 824b31aba2
No known key found for this signature in database
GPG key ID: D5FAA6A16150E49E

View file

@ -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 }}