Skip to content

Commit

Permalink
Merge pull request #91 from speakeasy-api/chase/fix-csharp-build
Browse files Browse the repository at this point in the history
fix: run correct c# build command
  • Loading branch information
chase-crumbaugh authored Feb 27, 2024
2 parents c0f0c60 + 2d4aa27 commit 5c4d341
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/sdk-generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,14 @@ jobs:
with:
dotnet-version: ${{ inputs.dotnet_version }}

- run: dotnet format && dotnet build
- name: Compile 5.X
if: ${{ startsWith(inputs.dotnet_version, '5') }}
run: dotnet build
working-directory: ${{ needs.generate.outputs.csharp_directory }}

- name: Compile 6.X
if: ${{ startsWith(inputs.dotnet_version, '6') }}
run: dotnet format && dotnet build
working-directory: ${{ needs.generate.outputs.csharp_directory }}

- uses: ravsamhq/notify-slack-action@v2
Expand Down

0 comments on commit 5c4d341

Please sign in to comment.