Browse Source

Needs also build before pack locally.

BDisp 10 months ago
parent
commit
29b902ba83

+ 3 - 3
.github/workflows/dotnet-core.yml

@@ -91,12 +91,12 @@ jobs:
         dotnet-quality: 'ga'
 
     - name: Build Release Terminal.Gui
-      run: cd Terminal.Gui && dotnet build --configuration Release
+      run: dotnet build ../Terminal.Gui/Terminal.Gui.csproj --configuration Release
 
-    - name: Pack Release
+    - name: Pack Release Terminal.Gui
       run: dotnet pack Terminal.Gui/Terminal.Gui.csproj --configuration Release --output ./local_packages
 
-    - name: Build Release
+    - name: Build Release Solution
       run: dotnet build --configuration Release
 
 

+ 1 - 0
NativeAot/PackTerminalGui.ps1

@@ -1,4 +1,5 @@
 # Step 1: Build and pack Terminal.Gui
+dotnet build ../Terminal.Gui/Terminal.Gui.csproj --configuration Release
 dotnet pack ../Terminal.Gui/Terminal.Gui.csproj --configuration Release --output ../local_packages
 
 # Step 2: Restore NativeAot with the new package

+ 1 - 0
NativeAot/PackTerminalGui.sh

@@ -1,6 +1,7 @@
 #!/bin/bash
 
 # Step 1: Build and pack Terminal.Gui
+dotnet build ../Terminal.Gui/Terminal.Gui.csproj --configuration Release
 dotnet pack ../Terminal.Gui/Terminal.Gui.csproj --configuration Release --output ../local_packages
 
 # Step 2: Restore NativeAot with the new package

+ 1 - 0
SelfContained/PackTerminalGui.ps1

@@ -1,4 +1,5 @@
 # Step 1: Build and pack Terminal.Gui
+dotnet build ../Terminal.Gui/Terminal.Gui.csproj --configuration Release
 dotnet pack ../Terminal.Gui/Terminal.Gui.csproj --configuration Release --output ../local_packages
 
 # Step 2: Restore SelfContained with the new package

+ 1 - 0
SelfContained/PackTerminalGui.sh

@@ -1,6 +1,7 @@
 #!/bin/bash
 
 # Step 1: Build and pack Terminal.Gui
+dotnet build ../Terminal.Gui/Terminal.Gui.csproj --configuration Release
 dotnet pack ../Terminal.Gui/Terminal.Gui.csproj --configuration Release --output ../local_packages
 
 # Step 2: Restore SelfContained with the new package