From 6a1d42cc0eb27dd128180189f58cb4d4b8ba09dd Mon Sep 17 00:00:00 2001 From: Khanh Ngo Date: Thu, 21 May 2020 22:01:27 +0700 Subject: [PATCH] Update Gitlab workflow --- .github/workflows/release.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f44d0e7..e8cef28 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - # build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/386, darwin/amd64 - goos: [linux, windows, darwin] + # build and publish in parallel: linux/386, linux/amd64, darwin/386, darwin/amd64 + goos: [linux, darwin] goarch: ["386", amd64] steps: # get the source code @@ -23,12 +23,14 @@ jobs: - name: Environment Printer uses: managedkaos/print-env@v1.0 - # execute yarn install - - uses: borales/actions-yarn@v2.0.0 + # setup node + - uses: actions/setup-node@v1 with: - cmd: install + node-version: '10.x' + registry-url: 'https://registry.npmjs.org' - - name: Prepare aseets + # prepare assets for go rice + - name: Prepare assets run: | chmod +x ./prepare_assets.sh ./prepare_assets.sh