From 900caa1691b54fc69d8d8c34e2ffbff209d2b72a Mon Sep 17 00:00:00 2001 From: Christopher Baker Date: Tue, 24 Sep 2024 09:28:25 -0500 Subject: [PATCH] Update dotnet-core.yml --- .github/workflows/dotnet-core.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml index 56f05c0..56d2a6d 100644 --- a/.github/workflows/dotnet-core.yml +++ b/.github/workflows/dotnet-core.yml @@ -19,6 +19,19 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore + - name: Dotnet Tests + # You may pin to the exact commit or the version. + # uses: EasyDesk/action-dotnet-test@228a60327933ff6200594e89a6fa906a69e5f1e6 + uses: EasyDesk/action-dotnet-test@v1.0.0 + with: + # Additional arguments to pass to 'dotnet test'. + #test-args: # optional + # The build configuration to use (defaults to 'Release'). + #build-configuration: # optional, default is Release + # The path to the project or solution to test (defaults to the current directory). + #path: # optional, default is . + # Whether or not to skip the build using the '--no-build' flag (defaults to true). + skip-build: true # optional, default is true - name: Publish run: dotnet publish --configuration Release --no-restore -p:PublishProfile=PublishToSingleSelfContainedExe - name: read JSON property