Skip to content

update readme

update readme #14

Workflow file for this run

name: release
on:
push:
tags:
- '*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
# required for GoReleaser
fetch-depth: 0
# required for GoReleaser
- name: Fetch
run: git fetch --force --tags
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
cache: true
- name: Setup GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Notification
uses: hckops/actions/[email protected]
with:
action: create-message
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
message: "> Repository: **${{ github.repository }}**\\n> Version:\\t\\t ${{ github.ref }}\\n> Status:\\t\\t **NEW release**"