Migrondi - v1.0.0 #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Build dotnet 8.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "8.0.x" | |
- run: dotnet restore | |
- run: dotnet build src/Migrondi -f net8.0 --configuration Release --no-restore | |
- run: dotnet test src/Migrondi.Tests --no-restore | |
buildnet6: | |
runs-on: ubuntu-latest | |
name: Build dotnet 6.0 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup dotnet | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: "6.0.x" | |
- run: dotnet restore | |
- run: dotnet build src/Migrondi.Core -f net6.0 --configuration Release --no-restore | |
- run: dotnet test src/Migrondi.Tests -f net6.0 --no-restore |