Skip to content

Commit

Permalink
ci: re-added fig
Browse files Browse the repository at this point in the history
  • Loading branch information
xavidop committed Jun 5, 2024
1 parent b4def80 commit f37d59f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/fig.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: fig

on:
workflow_dispatch:
push:
tags:
- 'v*'

permissions:
contents: read

jobs:
fig:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: stable
cache: true
- run: go mod tidy && go run . generate-fig-spec >cxcli.ts
- uses: withfig/push-to-fig-autocomplete-action@v2
with:
token: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}
autocomplete-spec-name: cxcli
spec-path: cxcli.ts
integration: commander

0 comments on commit f37d59f

Please sign in to comment.