Skip to content

Merge pull request #5 from innet8/hi-develop #422

Merge pull request #5 from innet8/hi-develop

Merge pull request #5 from innet8/hi-develop #422

Workflow file for this run

name: build
on: push
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
target: [ linux.amd64 ]
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-go@v3
with:
go-version: 1.18.1
- uses: actions/setup-node@v3
with:
node-version: '12'
- name: ui
run: |
cd ui
npm install
npm run build
cd ..
- name: build
env:
target: ${{ matrix.target }}
run: |
os=$(echo $target | awk -F. '{print $1}')
arch=$(echo $target | awk -F. '{print $2}')
go mod tidy
./build.sh $os $arch