Skip to content

Release

Release #12

Workflow file for this run

name: Release
on:
push: { tags: [ '*' ] }
permissions:
deployments: write
contents: write
jobs:
release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.23'
- run: |
go build \
-ldflags="-X 'github.com/cluebotng/botng/pkg/cbng/config.ReleaseTag=${{ github.ref }}'"
- name: Crease a release
uses: ncipollo/release-action@v1
with:
token: "${{ secrets.GITHUB_TOKEN }}"
artifacts: botng