Skip to content

Commit

Permalink
Update check-for-updates.yml (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
tspence authored Aug 13, 2024
1 parent 940192b commit 702b179
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/check-for-updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,22 @@ jobs:
- name: Add the SDK Generator
run: dotnet tool install SdkGenerator --global

- name: Run dotnet pack
- name: Pull the latest OpenAPI file and generate the SDK
run: SdkGenerator build -p ./sdk-config.json

- name: Determine patch notes, if any
id: patch-notes
run: SdkGenerator get-patch-notes -p ./sdk-config.json

- name: Determine release name, if any
id: pr-name
run: SdkGenerator get-release-name -p ./sdk-config.json

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
- name: Check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
with:
commit-message: ${{ steps.patch-notes.outputs }}
title: ${{ steps.pr-name.outputs }}


0 comments on commit 702b179

Please sign in to comment.