From 778af651d0b7ea47ca46c1e43dbd0fd7eb94dc5f Mon Sep 17 00:00:00 2001 From: jtalborough Date: Mon, 5 Aug 2024 10:40:33 -0400 Subject: [PATCH] feature: adds pack for release builds --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index babd2651..a0a1f3ba 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,6 +37,8 @@ jobs: run: nuget restore .\$($Env:SOLUTION_FILE).sln - name: Build Solution run: msbuild .\$($Env:SOLUTION_FILE).sln /p:Platform="Any CPU" /p:Configuration="Debug" /p:Version="${{ steps.setVersion.outputs.version }}" -m + - name: Pack Solution + run: dotnet pack .\$($Env:SOLUTION_FILE).sln --configuration $env:BUILD_TYPE --output ./output /p:Version="${{ steps.setVersion.outputs.version }}" - name: Upload Release id: create_release uses: ncipollo/release-action@v1