|
@@ -33,18 +33,13 @@ jobs:
|
|
- name: Setup dotnet
|
|
- name: Setup dotnet
|
|
uses: actions/setup-dotnet@v4
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
with:
|
|
- dotnet-version: 8.0
|
|
|
|
|
|
+ dotnet-version: 8.x
|
|
dotnet-quality: 'ga'
|
|
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 }}'
|
|
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
|
|
# - name: Test to generate Code Coverage Report
|
|
@@ -69,5 +64,5 @@ jobs:
|
|
# echo "Code coverage percentage: ${{steps.create_coverage_badge.outputs.percentage}}%"
|
|
# echo "Code coverage percentage: ${{steps.create_coverage_badge.outputs.percentage}}%"
|
|
# echo "Badge data: ${{steps.create_coverage_badge.outputs.badge}}"
|
|
# 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 }}
|
|
run: dotnet nuget push Terminal.Gui/bin/Release/Terminal.Gui.${{ steps.gitversion.outputs.SemVer }}.nupkg --api-key ${{ secrets.NUGET_API_KEY }}
|