diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 95b05d0c5..b3e3f7d92 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -1,4 +1,4 @@ -name: Ensure that Release builds are not broken +name: Ensure that Release Build of Solution Builds Correctly on: push: diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 507e68e8e..d90f4369f 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 }}