Skip to content

add badges to readme #2

add badges to readme

add badges to readme #2

Workflow file for this run

# Runs only when a tag [1] is pushed to the main branch
name: Release
on:
push:
tags:
- "*"
branches:
- main
permissions:
contents: write
jobs:
goreleaser:
if: github.ref_type == 'tag' # [1]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.23
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}