Pārlūkot izejas kodu

Fixed release builds 9

Tig 3 mēneši atpakaļ
vecāks
revīzija
a4b12bd046
1 mainītis faili ar 5 papildinājumiem un 5 dzēšanām
  1. 5 5
      .github/workflows/publish.yml

+ 5 - 5
.github/workflows/publish.yml

@@ -1,4 +1,4 @@
-name: Publish Terminal.Gui
+name: Publish Terminal.Gui to Nuget
 
 on:
   push:
@@ -15,8 +15,8 @@ jobs:
 
     steps:
     - uses: actions/checkout@v4
-      with:
-        fetch-depth: 0 # fetch-depth is needed for GitVersion
+      # with:
+      #   fetch-depth: 0 # fetch-depth is needed for GitVersion
 
     - name: Install GitVersion
       uses: gittools/actions/gitversion/[email protected]
@@ -37,10 +37,10 @@ jobs:
         dotnet-quality: 'ga'
 
     - name: Build Release Terminal.Gui
-      run: dotnet build Terminal.Gui/Terminal.Gui.csproj --no-incremental --nologo --force --configuration Debug
+      run: dotnet build Terminal.Gui/Terminal.Gui.csproj --no-incremental --nologo --force --configuration Release
 
     - name: Pack Release Terminal.Gui ${{ steps.gitversion.outputs.SemVer }} for Nuget
-      run: dotnet pack Terminal.Gui/Terminal.Gui.csproj -c Debug --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
     #   run: |