Skip to content

require go1.18 in go.mod (#175) #40

require go1.18 in go.mod (#175)

require go1.18 in go.mod (#175) #40

Workflow file for this run

name: Build release binaries for tag
on:
push:
tags:
- 'v*'
jobs:
build-and-release:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
with:
go-version: ^1.16
- name: Install govvv
run: |
go install github.com/ahmetb/govvv@master
- uses: actions/checkout@v2
- name: Make release
run: |
make release
- name: Release
uses: softprops/action-gh-release@v1
with:
files: 'cmd/kubectl-cost/kubectl-cost-*'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update version in Krew index
uses: rajatjindal/[email protected]
# see https://github.com/rajatjindal/krew-release-bot
# and /.krew.yaml