Skip to content

refactor: improved response handling for api client. #25

refactor: improved response handling for api client.

refactor: improved response handling for api client. #25

Workflow file for this run

name: Release with GoReleaser
on:
push:
branches:
- 'release/*'
tags:
- 'v*.*.*'
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Release via GoReleaser
uses: goreleaser/goreleaser-action@v6
if: startsWith(github.ref, 'refs/tags/')
with:
distribution: goreleaser
version: 2
args: release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}