on: pull_request: push: jobs: release: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v2 with: fetch-depth: 0 - name: Set up Go uses: actions/setup-go@v2 with: 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 with: 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