diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 7fe106d3..84996eaf 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -66,6 +66,8 @@ jobs: # Build the solutions in the docker image - 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: Create tag for non-rc builds if: contains(steps.setVersion.outputs.version, 'alpha') run: | 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 diff --git a/src/PepperDash.Essentials/PepperDash.Essentials.csproj b/src/PepperDash.Essentials/PepperDash.Essentials.csproj index 274b257f..d64846e5 100644 --- a/src/PepperDash.Essentials/PepperDash.Essentials.csproj +++ b/src/PepperDash.Essentials/PepperDash.Essentials.csproj @@ -1,58 +1,58 @@ - - - Program - Debug;Release;Debug 4.7.2 - - - PepperDash.Essentials - PepperDashEssentials - net472;net6 - true - bin\$(Configuration)\ - PepperDash Essentials - PepperDashEssentials - 2.0.0-local - $(Version) - false - - - full - - - full - - - pdbonly - - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - Always - - - - - - - - - - + + + Program + Debug;Release;Debug 4.7.2 + + + PepperDash.Essentials + PepperDashEssentials + net472;net6 + true + bin\$(Configuration)\ + PepperDash Essentials + PepperDashEssentials + 2.0.0-local + $(Version) + false + + + full + + + full + + + pdbonly + + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + + + + + + + + \ No newline at end of file