Skip to content

Fix/krew (#34)

Fix/krew (#34) #14

Workflow file for this run

name: release
on:
push:
tags:
- '*.*.*'
env:
# Golang version to use across CI steps
GOLANG_VERSION: '1.22'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOLANG_VERSION }}
- name: GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.REPO_TOKEN }}
- name: Update new version in krew-index
uses: rajatjindal/[email protected]