mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-19 03:05:53 +08:00
Fix release.yml
This commit is contained in:
parent
c4ec705a4e
commit
1bcc9663a2
29
.github/workflows/release.yml
vendored
29
.github/workflows/release.yml
vendored
@ -1,25 +1,34 @@
|
||||
name: goreleaser
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
goreleaser:
|
||||
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.16rc1
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
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:
|
||||
version: latest
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
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
|
||||
|
4
.gitignore
vendored
4
.gitignore
vendored
@ -8,8 +8,12 @@
|
||||
# Test binary, built with `go test -c`
|
||||
*.test
|
||||
|
||||
# tar file.
|
||||
*.tar.gz
|
||||
|
||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||
*.out
|
||||
|
||||
# main binary
|
||||
asynqmon
|
||||
dist/
|
Loading…
Reference in New Issue
Block a user