Update CecilAssemblyReflectorFacts.cs #59
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
# This workflow will build and test a Windows Forms desktop application | |
# built on .NET Core. | |
name: .NET Core Desktop | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
name: Build project | |
runs-on: windows-latest | |
env: | |
Solution_Name: NDifference.sln | |
Test_Project_Path: tests\UnitTests\UnitTests.csproj | |
Configuration: 'Release' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
# Install the .NET Core workload | |
- name: Install .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
# Execute all unit tests in the solution | |
- name: Execute unit tests | |
run: dotnet test | |
# Build the application | |
- name: Build the application | |
run: dotnet build --configuration ${{ env.Configuration }} | |
# Zip the application | |
- name: Zip project | |
uses: thedoctor0/zip-release@master | |
with: | |
directory: ./bin/{{ env.Configuration }}/ | |
filename: NDifferenceUI.zip | |
- name: 🚀 Upload Build Artifacts | |
id: upload-artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: NDifferenceUI | |
path: ./bin/{{ env.Configuration}}/NDifferenceUI.zip | |
if-no-files-found: error |