2021-01-31 06:24:12 -08:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
|
|
|
|
jobs:
|
2021-01-31 06:26:35 -08:00
|
|
|
release:
|
2021-01-31 06:24:12 -08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-01-31 06:26:35 -08:00
|
|
|
|
2021-01-31 06:24:12 -08:00
|
|
|
- name: Set up Go
|
|
|
|
uses: actions/setup-go@v2
|
|
|
|
with:
|
2021-01-31 06:26:35 -08:00
|
|
|
go-version: 1.15
|
|
|
|
|
|
|
|
- name: Install Go1.16
|
|
|
|
run: go get golang.org/dl/go1.16rc1 && go1.16rc1 download
|
|
|
|
|
|
|
|
- name: Set up Node
|
|
|
|
uses: actions/setup-node@v2
|
2021-01-31 06:24:12 -08:00
|
|
|
with:
|
2021-01-31 06:26:35 -08:00
|
|
|
node-version: "12"
|
|
|
|
|
|
|
|
- name: Install NPM packages
|
|
|
|
run: cd ui && rm yarn.lock && yarn install
|
|
|
|
|
|
|
|
- name: Build Binary
|
|
|
|
run: |
|
|
|
|
make build
|
|
|
|
tar -czvf asynqmon-linux-amd64.tar.gz asynqmon
|
|
|
|
ls
|