瀏覽代碼

Fixes publish actoin

Tig 1 年之前
父節點
當前提交
6d047e0812
共有 1 個文件被更改,包括 4 次插入2 次删除
  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 }}'