Fixed release builds 7

This commit is contained in:
Tig
2025-05-31 19:42:16 -06:00
parent 1988d9d00c
commit 74a3b47955
2 changed files with 6 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
name: Ensure that Release builds are not broken
name: Ensure that Release Build of Solution Builds Correctly
on:
push:

View File

@@ -33,18 +33,13 @@ jobs:
- name: Setup dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0
dotnet-version: 8.x
dotnet-quality: 'ga'
- name: Install dependencies
run: dotnet restore
- name: Build Release
run: |
dotnet build Terminal.Gui/Terminal.Gui.csproj --no-incremental --nologo --force --configuration Release
dotnet test Terminal.Gui/Terminal.Gui.csproj --configuration Release
- name: Build Release Terminal.Gui
run: dotnet build Terminal.Gui/Terminal.Gui.csproj --no-incremental --nologo --force --configuration Release
- name: Pack
- name: Pack Release Terminal.Gui ${{ steps.gitversion.outputs.SemVer }} for Nuget
run: dotnet pack Terminal.Gui/Terminal.Gui.csproj -c Release --include-symbols -p:Version='${{ steps.gitversion.outputs.SemVer }}'
# - name: Test to generate Code Coverage Report
@@ -69,5 +64,5 @@ jobs:
# echo "Code coverage percentage: ${{steps.create_coverage_badge.outputs.percentage}}%"
# echo "Badge data: ${{steps.create_coverage_badge.outputs.badge}}"
- name: Publish to NuGet.org
- name: Publish Pakcage to NuGet.org
run: dotnet nuget push Terminal.Gui/bin/Release/Terminal.Gui.${{ steps.gitversion.outputs.SemVer }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }}