Skip to content

Commit

Permalink
fix(workflow): update version output (heroku#2747)
Browse files Browse the repository at this point in the history
* Show variables working correctly during workflow

* WIP output

* Update workflow
  • Loading branch information
zwhitfield3 authored Mar 27, 2024
1 parent 69e04eb commit 89c3169
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 @@ -19,11 +19,11 @@ jobs:
- run: yarn --immutable --network-timeout 1000000
- name: Build Heroku CLI
run: yarn build
- name: Generate Fig Spec
run: cd packages/cli && ./bin/run generate-fig-spec > spec.ts
- name: Get Heroku Version
id: cli-version
run: echo "version=$(./bin/run --version | sed -rn 's/^heroku\/([0-9\.]+).*$/\1/p')"
run: echo "version=$(./bin/run --version | sed -rn 's/^heroku\/([0-9\.]+).*$/\1/p')" >> $GITHUB_OUTPUT
- name: Generate Fig Spec
run: cd packages/cli && ./bin/run generate-fig-spec > spec.ts
- name: Create Fig Autocomplete PR
uses: withfig/push-to-fig-autocomplete-action@v2
with:
Expand Down

0 comments on commit 89c3169

Please sign in to comment.