Browse Source

Fixes publish actoin

Tig 1 year ago
parent
commit
6d047e0812
1 changed files with 4 additions and 2 deletions
  1. 4 2
      .github/workflows/publish.yml

+ 4 - 2
.github/workflows/publish.yml

@@ -43,8 +43,10 @@ jobs:
     - name: Build Release
       run: |
         dotnet-gitversion /updateprojectfiles
-        dotnet build --no-restore -c Release
-
+        Import-Module ./Scripts/Terminal.Gui.PowerShell.psd1
+        Build-Analyzers
+        dotnet build -c Release
+        Remove-Module Terminal.Gui.PowerShell 
     - name: Pack
       run: dotnet pack -c Release --include-symbols -p:Version='${{ steps.gitversion.outputs.SemVer }}'