mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
7544f7ab96
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com> Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
28 lines
651 B
YAML
28 lines
651 B
YAML
name: fig
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
fig:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3
|
|
- uses: actions/setup-go@c4a742cab115ed795e34d4513e2cf7d472deb55f # v3
|
|
with:
|
|
go-version: '>=1.19.3'
|
|
cache: true
|
|
- run: go run . generate-fig-spec >goreleaser.ts
|
|
- uses: withfig/push-to-fig-autocomplete-action@v1
|
|
with:
|
|
token: ${{ secrets.GH_PAT }}
|
|
autocomplete-spec-name: goreleaser
|
|
spec-path: goreleaser.ts
|
|
integration: commander
|