Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Xcaciv/Xcaciv.Loader
Browse files Browse the repository at this point in the history
  • Loading branch information
Xcaciv committed Apr 17, 2024
2 parents c43f29e + b3b15f6 commit a618fd8
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
# For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications,
# refer to https://github.com/microsoft/github-actions-for-desktop-apps

name: .NET Core Desktop
name: .NET Test and Build

on:
push:
Expand All @@ -63,23 +63,29 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

# Install the .NET Core workload
- name: Install .NET
uses: actions/setup-dotnet@v2
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1.0.2

# Execute all unit tests in the solution
uses: microsoft/setup-msbuild@v2

- name: Restore dependencies
run: dotnet restore

- name: Build
run: dotnet build --no-restore

# Execute all unit tests in the solution
- name: Execute unit tests
run: dotnet test $env:Test_Project_Path
run: dotnet test --no-build $env:Test_Project_Path

# Restore the application to populate the obj folder with RuntimeIdentifiers
- name: Restore the application
Expand Down

0 comments on commit a618fd8

Please sign in to comment.