Skip to content

Update README.md with detailed instructions and examples #1

Update README.md with detailed instructions and examples

Update README.md with detailed instructions and examples #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.5.3
with:
fetch-depth: 0
- uses: actions/setup-go@v4.0.1
with:
go-version-file: 'go.mod'
cache: false
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v5.3.0
id: import_gpg
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4.3.0
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ github.token }}
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}