Skip to content

release

release #4

Workflow file for this run

name: release
on:
push:
tags:
- "*"
jobs:
publish:
name: release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- run: make release-notes release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: _output/releases/*
bodyFile: release-notes.md
token: ${{ secrets.GH_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: release-notes
path: release-notes.md
- uses: actions/upload-artifact@v4
with:
name: build-artifacts
path: _output