From f1c88464abc83f4c89a3f22b49296cb83609c9db Mon Sep 17 00:00:00 2001 From: Stefan Seeland <168659+stesee@users.noreply.github.com> Date: Sun, 22 Jan 2023 16:58:28 +0100 Subject: [PATCH] Update dotnet.yml --- .github/workflows/dotnet.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 9fd1b9a..2b4c5a4 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -30,6 +30,10 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore + - name: Publish FolderProfilePortable + run: dotnet publish ./Codeuctivity.HtmlRendererCli --configuration Release -f net6.0 -p:PublishProfile=FolderProfilePortable + - name: Publish FolderProfileWindows + run: dotnet publish ./Codeuctivity.HtmlRendererCli --configuration Release -f net6.0 -p:PublishProfile=FolderProfileWindows - name: Test run: dotnet test --no-build --verbosity normal --configuration Release - name: Publish Unit Test Results @@ -57,8 +61,10 @@ jobs: run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore - - name: Publish FolderProfileWindows + - name: Publish FolderProfilePortable run: dotnet publish ./Codeuctivity.HtmlRendererCli --configuration Release -f net6.0 -p:PublishProfile=FolderProfilePortable + - name: Publish FolderProfileWindows + run: dotnet publish ./Codeuctivity.HtmlRendererCli --configuration Release -f net6.0 -p:PublishProfile=FolderProfileWindows - name: Zip FolderProfilePortable uses: thedoctor0/zip-release@main with: @@ -103,6 +109,8 @@ jobs: run: dotnet build --configuration Release --no-restore - name: Publish FolderProfilePortable run: dotnet publish ./Codeuctivity.HtmlRendererCli --configuration Release -f net6.0 -p:PublishProfile=FolderProfilePortable + - name: Publish FolderProfileWindows + run: dotnet publish ./Codeuctivity.HtmlRendererCli --configuration Release -f net6.0 -p:PublishProfile=FolderProfileWindows - name: Zip FolderProfilePortable uses: thedoctor0/zip-release@main with: