Skip to content

Commit

Permalink
merge: install both .NET 7 and .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
undrcrxwn committed Feb 24, 2024
2 parents d74c9d6 + 2f9c293 commit 6d97226
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,21 @@ jobs:
- name: ⚙️ Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '7.0.x'
dotnet-version: 8.0.x
- name: ⚙️ Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
7.0.x
8.0.x
- name: ⚒ Build solution
run: dotnet build
- name: ⚙️ Install Swashbuckle.AspNetCore.Cli
run: |
dotnet tool install Swashbuckle.AspNetCore.Cli --global
echo "$DOTNET_ROOT/tools/swagger" >> $GITHUB_PATH
- name: 📝 Generate OpenAPI specification
run: swagger tofile --output openapi.yaml --yaml ./src/CrowdParlay.Social.Api/bin/Debug/net7.0/CrowdParlay.Social.Api.dll v1
run: swagger tofile --output openapi.yaml --yaml ./src/CrowdParlay.Social.Api/bin/Debug/net8.0/CrowdParlay.Social.Api.dll v1
- name: 🔗 Upload OpenAPI specification as release asset
uses: actions/upload-release-asset@v1
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ jobs:
- name: ⚙️ Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
dotnet-version: |
7.0.x
8.0.x
- name: 📥 Restore dependencies
run: dotnet restore
- name: ⚒ Build solution
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Crowd Parlay's *social* microservice [![Test](https://github.com/crowdparlay/social/actions/workflows/test.yml/badge.svg)](https://github.com/crowdparlay/social/actions/workflows/test.yml)
- **languages:** <kbd>C#</kbd> <kbd>SQL</kbd>
- **frameworks:** <kbd>.NET 7</kbd> <kbd>ASP.NET Core</kbd>
- **persistence:** <kbd>Neo4j</kbd>
- **other:** <kbd>RabbitMQ</kbd> <kbd>MediatR</kbd> <kbd>FluentValidation</kbd> <kbd>Mapster</kbd> <kbd>Swashbuckle</kbd></kbd>
- **languages:** <kbd>C#</kbd> <kbd>Cypher</kbd>
- **technologies:** <kbd>.NET 8</kbd> <kbd>ASP.NET Core</kbd> <kbd>RabbitMQ</kbd> <kbd>Neo4j</kbd> <kbd>SSE</kbd> <kbd>OpenAPI</kbd>
- **dependencies:** <kbd>MassTransit</kbd> <kbd>SignalR</kbd> <kbd>MediatR</kbd> <kbd>FluentValidation</kbd> <kbd>Mapster</kbd> <kbd>Swashbuckle</kbd> <kbd>Testcontainers</kbd>

0 comments on commit 6d97226

Please sign in to comment.