Skip to content

Commit

Permalink
ci: separate release workflow from publish
Browse files Browse the repository at this point in the history
  • Loading branch information
wI2L committed Jan 31, 2022
1 parent 174da10 commit a26a1e4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: publish
on:
release:
types:
- published
jobs:
krew:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Update new version of plugin in krew-index
uses: rajatjindal/[email protected]
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,4 @@ jobs:
- name: Run GoReleaser
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update new version of plugin in krew-index
uses: rajatjindal/[email protected]
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a26a1e4

Please sign in to comment.