From e1f934eff69fbc230e8773fc403d2885db440cd8 Mon Sep 17 00:00:00 2001 From: guoxudong Date: Fri, 4 Dec 2020 18:39:40 +0800 Subject: [PATCH] fix action --- .github/workflows/homebrew.yaml | 18 ------------------ .github/workflows/release.yaml | 5 +++++ 2 files changed, 5 insertions(+), 18 deletions(-) delete mode 100644 .github/workflows/homebrew.yaml diff --git a/.github/workflows/homebrew.yaml b/.github/workflows/homebrew.yaml deleted file mode 100644 index c6cecd25..00000000 --- a/.github/workflows/homebrew.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: Bump Homebrew kubecm formula - -on: - push: - tags: 'v*' - -jobs: - homebrew: - runs-on: ubuntu-latest - - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Bump formulae - uses: dawidd6/action-homebrew-bump-formula@v3.1.1 - with: - token: ${{ secrets.HOMEBREW_TOKEN }} - formula: kubecm \ No newline at end of file diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f0a3098a..7c3c95b5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -25,3 +25,8 @@ jobs: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} HOMEBREW_TOKEN: ${{secrets.HOMEBREW_TOKEN}} + - name: Bump formulae + uses: dawidd6/action-homebrew-bump-formula@v3.1.1 + with: + token: ${{ secrets.HOMEBREW_TOKEN }} + formula: kubecm