feat: Remove BuildTask implementations #293
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: Unit Tests | |
on: | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
unit-test: | |
runs-on: windows-2022 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: dotnet build -c Release | |
- name: Nuget pack library | |
run: dotnet pack -c Release src/dscom/dscom.csproj | |
- name: Nuget pack tool | |
run: dotnet pack -c Release src/dscom.client/dscom.client.csproj | |
- name: Nuget pack build tools | |
run: dotnet pack -c Release src/dscom.build/dscom.build.csproj | |
- name: Unit test | |
run: dotnet test --no-build -c Release | |
continue-on-error: false |