Skip to content

Commit 98d6177

Browse files
authored
chore(ci): use .NET 9 SDK in OpenAPI workflow
1 parent c19bee1 commit 98d6177

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/openapi.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@ jobs:
2323
- name: ⚙️ Setup .NET
2424
uses: actions/setup-dotnet@v1
2525
with:
26-
dotnet-version: |
27-
7.0.x
28-
8.0.x
26+
dotnet-version: 9.0.x
2927
- name: ⚒ Build solution
3028
run: dotnet build
3129
- name: ⚙️ Restore .NET tools
3230
run: dotnet tool restore
3331
- name: 📝 Produce OpenAPI specification
34-
run: dotnet swagger tofile --output openapi.yaml --yaml ./src/CrowdParlay.Social.Api/bin/Debug/net8.0/CrowdParlay.Social.Api.dll v1
32+
run: dotnet swagger tofile --output openapi.yaml --yaml ./src/CrowdParlay.Social.Api/bin/Debug/net9.0/CrowdParlay.Social.Api.dll v1
3533
- name: 🔗 Upload OpenAPI specification as release asset
3634
uses: actions/upload-release-asset@v1
3735
env:

0 commit comments

Comments
 (0)