Skip to content

Commit

Permalink
WIP generate fig spec
Browse files Browse the repository at this point in the history
  • Loading branch information
zwhitfield3 committed Mar 8, 2024
1 parent a93788b commit dc7a3e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-to-fig-autocomplete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
node-version: 16.x
cache: yarn
- name: Install Fig Oclif Plugin
run: yarn add @fig/complete-oclif && jq '.oclif.plugins += ["@fig/complete-oclif"]' package.json > temp.json && mv temp.json package.json
run: cd packages/cli && yarn add @fig/complete-oclif && jq '.oclif.plugins += ["@fig/complete-oclif"]' package.json > temp.json && mv temp.json package.json
- run: yarn --immutable --network-timeout 1000000
- name: Build Heroku CLI
run: yarn build
- name: Generate Fig Spec
run: ./bin/run generate-fig-spec > spec.ts
run: cd packages/cli && ./bin/run generate-fig-spec > spec.ts && cat spec.ts
- name: Get Heroku Version
id: cli-version
run: echo "version=$(./bin/run --version | sed -rn 's/^heroku\/([0-9\.]+).*$/\1/p')"
Expand All @@ -29,7 +29,7 @@ jobs:
with:
token: ${{ secrets.HEROKU_CLI_BOT_TOKEN }}
autocomplete-spec-name: 'heroku'
spec-path: spec.ts
spec-path: ./packages/cli/spec.ts
integration: oclif
diff-based-versioning: true
new-spec-version: ${{ steps.cli-version.outputs.version }}
Expand Down

0 comments on commit dc7a3e6

Please sign in to comment.