-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The krew-release-bot action is only supported on Linux
- Loading branch information
1 parent
bf4aecc
commit 5828ae6
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
- 'v*' | ||
|
||
jobs: | ||
goreleaser: | ||
release: | ||
runs-on: macos-11 | ||
steps: | ||
- name: Checkout | ||
|
@@ -34,8 +34,15 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
publish: | ||
runs-on: ubuntu-latest | ||
needs: release | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Update new version in krew-index | ||
if: success() && !contains(github.ref, '-') | ||
uses: rajatjindal/[email protected].38 | ||
uses: rajatjindal/[email protected].40 | ||
with: | ||
krew_template_file: .krew.yml |