Skip to content

Commit

Permalink
Update git commits in workflow to grab the correct spec files and cod…
Browse files Browse the repository at this point in the history
…e files for the build
  • Loading branch information
thogarty committed Feb 15, 2024
1 parent f7c543d commit a85bb37
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/sync_sdk_with_new_api_spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ jobs:
VERSION_UPDATE="OPENAPI_URL=\"https://app.swaggerhub.com/apiproxy/registry/equinix-api/fabric/${{ github.event.inputs.new_api_spec_version_number }}\""
sed -i 's,${{ steps.spec_versions.outputs.api_spec_line }},'"$VERSION_UPDATE"',' Makefile
make generate
git commit -m 'sync: fetch ${{ steps.date.outputs.date }} spec and apply patches' *.json
git commit -m 'sync: generate client with ${{ steps.date.outputs.date }} spec' equinix-openapi-fabric
git commit -m 'sync: fetch ${{ steps.date.outputs.date }} spec and apply patches' spec/*.json
git add equinix-openapi-fabric
git commit -m 'sync: generate client with ${{ steps.date.outputs.date }} spec'
- name: Create Pull Request
id: cpr
Expand Down

0 comments on commit a85bb37

Please sign in to comment.