From 0af85dfb12acbf841cccef3f5996e80088161413 Mon Sep 17 00:00:00 2001 From: naiba Date: Sun, 13 Dec 2020 00:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/agent.yml | 7 +++++-- .github/workflows/dashboard.yml | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/agent.yml b/.github/workflows/agent.yml index 4255435..3665cc1 100644 --- a/.github/workflows/agent.yml +++ b/.github/workflows/agent.yml @@ -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 }} diff --git a/.github/workflows/dashboard.yml b/.github/workflows/dashboard.yml index 3870c4c..d44af4a 100644 --- a/.github/workflows/dashboard.yml +++ b/.github/workflows/dashboard.yml @@ -9,7 +9,7 @@ on: - ".gitignore" - "*.md" - "cmd/agent/**" - - ".github/agent.yaml" + - ".github/workflows/agent.yaml" - ".goreleaser.yml" jobs: