🐛 fix workflow

This commit is contained in:
naiba
2020-12-13 00:23:28 +08:00
parent 8ddb1e3909
commit 0af85dfb12
2 changed files with 6 additions and 3 deletions

View File

@@ -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 }}