Skip to content

support legacy kv engine of type generic #267

support legacy kv engine of type generic

support legacy kv engine of type generic #267

Workflow file for this run

name: goreleaser
on:
push:
tags:
- '*'
pull_request:
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: ghcr-login
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
# if tag release
-
name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6
if: startsWith(github.ref, 'refs/tags/v')
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP: ${{ secrets.HOMEBREW_TAP }}
# if no tag test release build
-
name: Run GoReleaser skip publishing
uses: goreleaser/goreleaser-action@v6
if: "!startsWith(github.ref, 'refs/tags/v')"
with:
version: latest
args: release --skip=publish --skip=validate
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP: ${{ secrets.HOMEBREW_TAP }}