Skip to content

add workflow for nightly. Doesn't work yet. #2

add workflow for nightly. Doesn't work yet.

add workflow for nightly. Doesn't work yet. #2

Workflow file for this run

---
name: release
on:
push:
tags:
- 'v*.*.*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Run goreleaser
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# disable krew install for now as this would conflict with the original. I'd have to rename the project to do this safely.
# - name: Update new version in krew-index
# uses: rajatjindal/[email protected]