Tigger Kindel 1 år sedan
förälder
incheckning
23eba79684
2 ändrade filer med 9 tillägg och 8 borttagningar
  1. 9 2
      .github/workflows/publish.yml
  2. 0 6
      Terminal.Gui/Terminal.Gui.csproj

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

@@ -1,11 +1,19 @@
 name: Publish Terminal.Gui
+
 on:
   push:
+    branches: [ main, v2_release ]
     tags:
       - v*
+    paths-ignore:
+      - '**.md'
 
-jobs:
+  pull_request:
+    branches: [ develop, v2_develop ]
+    paths-ignore:
+      - '**.md'
 
+jobs:
   publish:
     name: Build and Publish to Nuget.org
     runs-on: ubuntu-latest
@@ -59,7 +67,6 @@ jobs:
         color: brightgreen
         path: UnitTests/TestResults/coverage.opencover.xml
         gist-filename: code-coverage.json
-        # https://gist.github.com/migueldeicaza/90ef67a684cb71db1817921a970f8d27
         gist-id: 90ef67a684cb71db1817921a970f8d27
         gist-auth-token: ${{ secrets.GIST_AUTH_TOKEN }}   
 

+ 0 - 6
Terminal.Gui/Terminal.Gui.csproj

@@ -12,12 +12,6 @@
     <Version>1.14.0-v1-develop-branc0115</Version>
   </PropertyGroup>
   <!-- =================================================================== -->
-  <!-- Enables printing of version info after build -->
-  <!-- =================================================================== -->
-  <Target Name="Diag" AfterTargets="Pack">
-    <Message Text="Built and packaged: $(OutDir)$(OutputPath)Terminal.Gui.dll $(AssemblyVersion)" Importance="high" />
-  </Target>
-  <!-- =================================================================== -->
   <!-- .NET Build Settings -->
   <!-- =================================================================== -->
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">