mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 07:47:54 +01:00
Fixed release builds 7
This commit is contained in:
2
.github/workflows/build-release.yml
vendored
2
.github/workflows/build-release.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Ensure that Release builds are not broken
|
||||
name: Ensure that Release Build of Solution Builds Correctly
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
15
.github/workflows/publish.yml
vendored
15
.github/workflows/publish.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user