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:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
goreleaser:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
uses: actions/setup-go@v2
|
uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: 1.16rc1
|
go-version: 1.15
|
||||||
- name: Run GoReleaser
|
|
||||||
uses: goreleaser/goreleaser-action@v2
|
- 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:
|
with:
|
||||||
version: latest
|
node-version: "12"
|
||||||
args: release --rm-dist
|
|
||||||
env:
|
- name: Install NPM packages
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
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 binary, built with `go test -c`
|
||||||
*.test
|
*.test
|
||||||
|
|
||||||
|
# tar file.
|
||||||
|
*.tar.gz
|
||||||
|
|
||||||
# Output of the go coverage tool, specifically when used with LiteIDE
|
# Output of the go coverage tool, specifically when used with LiteIDE
|
||||||
*.out
|
*.out
|
||||||
|
|
||||||
# main binary
|
# main binary
|
||||||
asynqmon
|
asynqmon
|
||||||
|
dist/
|
Loading…
Reference in New Issue
Block a user