You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2020/02/07 08:14:41 UTC

[camel-quarkus] 02/02: GitHUb Actions: include quarkus-master for branches to watch

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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit e884ccbabeff2e8f50724be4e9ca5517a71723f4
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Fri Feb 7 07:41:48 2020 +0100

    GitHUb Actions: include quarkus-master for branches to watch
---
 .github/workflows/pr-build.yaml   | 49 ++++++++++++++++++++-------------------
 .github/workflows/pr-validate.yml |  5 ++--
 2 files changed, 28 insertions(+), 26 deletions(-)

diff --git a/.github/workflows/pr-build.yaml b/.github/workflows/pr-build.yaml
index 3a75ae7..f36c6f2 100644
--- a/.github/workflows/pr-build.yaml
+++ b/.github/workflows/pr-build.yaml
@@ -22,6 +22,7 @@ on:
     branches:
       - master
       - camel-master
+      - quarkus-master
 
 env:
   LANG: en_US
@@ -31,9 +32,9 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -59,9 +60,9 @@ jobs:
         java: [ '11' , '12' ]
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - uses: actions/checkout@v2
       - name: Set up JDK ${{ matrix.java }}
         uses: actions/setup-java@v1
@@ -77,9 +78,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -110,9 +111,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -146,9 +147,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -178,9 +179,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -209,9 +210,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -245,9 +246,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -276,9 +277,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -307,9 +308,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -337,9 +338,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
@@ -375,9 +376,9 @@ jobs:
     needs: build
     steps:
       - name: Set BRANCH_OPTIONS
-        if: github.base_ref == 'camel-master'
+        if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
         run: |
-          echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+          echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
       - name: Checkout
         uses: actions/checkout@v2
       - name: Set Up Java
diff --git a/.github/workflows/pr-validate.yml b/.github/workflows/pr-validate.yml
index 1b0660b..87e5dab 100644
--- a/.github/workflows/pr-validate.yml
+++ b/.github/workflows/pr-validate.yml
@@ -22,6 +22,7 @@ on:
     branches:
       - master
       - camel-master
+      - quarkus-master
 
 env:
   LANG: en_US
@@ -31,9 +32,9 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - name: Set BRANCH_OPTIONS
-      if: github.base_ref == 'camel-master'
+      if: github.base_ref == 'camel-master' || github.base_ref == 'quarkus-master'
       run: |
-        echo '::set-env name=BRANCH_OPTIONS::-Papache-snapshots'
+        echo '::set-env name=BRANCH_OPTIONS::-Psnapshots'
     - uses: actions/checkout@v1
     - name: Set up JDK 1.8
       uses: actions/setup-java@v1