You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2020/07/18 12:37:35 UTC

[maven-surefire] 01/02: [github] Upload artifact surefire-its

This is an automated email from the ASF dual-hosted git repository.

tibordigana pushed a commit to branch fastqueue
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git

commit 0d98c14de1cc76d38376e08d68c55610470faf2d
Author: tibordigana <ti...@apache.org>
AuthorDate: Sat Jul 18 14:35:36 2020 +0200

    [github] Upload artifact surefire-its
---
 .github/workflows/maven-windows-it1.yml |  7 +++++++
 .github/workflows/maven-windows-it2.yml |  7 +++++++
 .github/workflows/maven.yml             | 15 ++++++++++++++-
 3 files changed, 28 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/maven-windows-it1.yml b/.github/workflows/maven-windows-it1.yml
index 4679153..6fb3a87 100644
--- a/.github/workflows/maven-windows-it1.yml
+++ b/.github/workflows/maven-windows-it1.yml
@@ -34,3 +34,10 @@ jobs:
 
       - name: Build with Maven
         run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its "-Dit.test=**/jiras/*IT*.java,TestMethodPatternIT,TestMultipleMethodPatternsIT,TestMultipleMethodPatternsTestNGIT"
+
+      - name: 'Upload artifact surefire-its'
+        uses: actions/upload-artifact@v2
+        if: failure()
+        with:
+          name: 'surefire-its'
+          path: 'surefire-its/target/'
diff --git a/.github/workflows/maven-windows-it2.yml b/.github/workflows/maven-windows-it2.yml
index 58a04c1..7d8c8d7 100644
--- a/.github/workflows/maven-windows-it2.yml
+++ b/.github/workflows/maven-windows-it2.yml
@@ -37,3 +37,10 @@ jobs:
 
       - name: Build with Maven without Unit Tests
         run: mvn install -e -B -V -nsu --no-transfer-progress -rf :surefire-its -P run-its "-Dit.test=!**/jiras/*IT*.java,!TestMethodPatternIT,!TestMultipleMethodPatternsIT,!TestMultipleMethodPatternsTestNGIT"
+
+      - name: 'Upload artifact surefire-its'
+        uses: actions/upload-artifact@v2
+        if: failure()
+        with:
+          name: 'surefire-its'
+          path: 'surefire-its/target/'
\ No newline at end of file
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index d0c9786..7544499 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -17,7 +17,13 @@
 
 name: GitHub CI for *Nix
 
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - '**'
+  pull_request:
+    branches:
+      - '**'
 
 jobs:
   build:
@@ -40,3 +46,10 @@ jobs:
 
       - name: Build with Maven
         run: mvn install -e -B -V -nsu --no-transfer-progress -P run-its
+
+      - name: 'Upload artifact surefire-its'
+        uses: actions/upload-artifact@v2
+        if: failure()
+        with:
+          name: 'surefire-its'
+          path: 'surefire-its/target/'