mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-01-10 03:47:03 +02:00
17cd672149
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@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
|
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3
|
|
with:
|
|
go-version: '>=1.19.5'
|
|
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
|