Tiny; #407
Workflow file for this run
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 Build | |
on: | |
push: | |
branches: [] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
configuration: [Debug, Release] | |
platform: ["\"Any CPU\""] | |
os: [ubuntu-latest, macOS-latest, windows-latest] | |
env: | |
Source_Path: "./src/" | |
Solution_Name: CleanMicroserviceSystem.sln | |
WebUI_Project_Path: "./src/WebUI/CleanMicroserviceSystem.Aphrodite/CleanMicroserviceSystem.Aphrodite.csproj" | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Install .NET Core | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 8.0.x | |
include-prerelease: true | |
- name: Install dependencies | |
run: dotnet restore ${{ env.Source_Path }} | |
- name: Install workload | |
run: dotnet workload restore --project ${{ env.WebUI_Project_Path }} | |
- name: Build | |
run: dotnet build /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }} --no-restore ${{ env.Source_Path }} | |
- name: Test | |
run: dotnet test --no-build --verbosity normal ${{ env.Source_Path }} |