mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
* Fixes #4116. NativeAot and SelfContained projects aren't working well in release mode
* Revert delete nuget package because it fail in the git actions
* Trying automatize the nuget package installation
* Fixing UserProfile
* Trying fix push package for Unix OS
* Still triying to push nuget to the Unix
* Trying delete nuget package in the Pack target
* Trying fix git actions for release build
* Fix projects path
* Still fixing restore
* Add restore force parameter
* Build NativeAot and SelfContained projects before solution
* Build solution without restore
* Restore solutions packages before build
* Call dotnet restore before build the AOT and self-contained projects
* Remove unneeded run
* Revert "Remove unneeded run"
This reverts commit e04498d1ce.
* Trying fix racing fail unit tests
---------
Co-authored-by: Tig <tig@users.noreply.github.com>
This commit is contained in:
17
.github/workflows/build-release.yml
vendored
17
.github/workflows/build-release.yml
vendored
@@ -30,5 +30,18 @@ jobs:
|
||||
- name: Pack Release Terminal.Gui
|
||||
run: dotnet pack Terminal.Gui/Terminal.Gui.csproj --configuration Release --output ./local_packages
|
||||
|
||||
- name: Build Release Solution
|
||||
run: dotnet build --configuration Release
|
||||
- name: Restore AOT and Self-Contained projects
|
||||
run: |
|
||||
dotnet restore ./Examples/NativeAot/NativeAot.csproj -f
|
||||
dotnet restore ./Examples/SelfContained/SelfContained.csproj -f
|
||||
|
||||
- name: Restore Solution Packages
|
||||
run: dotnet restore
|
||||
|
||||
- name: Build Release AOT and Self-Contained
|
||||
run: |
|
||||
dotnet build ./Examples/NativeAot/NativeAot.csproj --configuration Release
|
||||
dotnet build ./Examples/SelfContained/SelfContained.csproj --configuration Release
|
||||
|
||||
- name: Build Release Solution without restore
|
||||
run: dotnet build --configuration Release --no-restore
|
||||
|
||||
Reference in New Issue
Block a user