mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
🐛 fix workflow
This commit is contained in:
parent
8ddb1e3909
commit
0af85dfb12
7
.github/workflows/agent.yml
vendored
7
.github/workflows/agent.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
- ".gitignore"
|
||||
- "*.md"
|
||||
- "cmd/dashboard/**"
|
||||
- ".github/dashboard.yaml"
|
||||
- ".github/workflows/dashboard.yaml"
|
||||
tags:
|
||||
- "v*"
|
||||
|
||||
@ -16,12 +16,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: 1.10.8
|
||||
- name: Run GoReleaser
|
||||
uses: goreleaser/goreleaser-action@v2
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
version: latest
|
||||
go-version: 1.10.8
|
||||
args: release --rm-dist
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
2
.github/workflows/dashboard.yml
vendored
2
.github/workflows/dashboard.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- ".gitignore"
|
||||
- "*.md"
|
||||
- "cmd/agent/**"
|
||||
- ".github/agent.yaml"
|
||||
- ".github/workflows/agent.yaml"
|
||||
- ".goreleaser.yml"
|
||||
|
||||
jobs:
|
||||
|
Loading…
Reference in New Issue
Block a user