You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/01/17 18:33:39 UTC
[camel-spring-boot] 02/03: (chores) ci: adjusted GH actions for sync to work with Camel 3 and Camel 4
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch camel-spring-boot-3.x
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
commit c4b34238c150951d21e1563b0911f17a5466c278
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jan 16 17:49:07 2023 +0100
(chores) ci: adjusted GH actions for sync to work with Camel 3 and Camel 4
---
...utomatic-sync-main.yml => automatic-sync-camel-3.yml} | 16 ++++++++--------
.github/workflows/automatic-sync-main.yml | 6 +++---
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/.github/workflows/automatic-sync-main.yml b/.github/workflows/automatic-sync-camel-3.yml
similarity index 88%
copy from .github/workflows/automatic-sync-main.yml
copy to .github/workflows/automatic-sync-camel-3.yml
index 30fefbd94d9..1f43d90943a 100644
--- a/.github/workflows/automatic-sync-main.yml
+++ b/.github/workflows/automatic-sync-camel-3.yml
@@ -15,7 +15,7 @@
# limitations under the License.
#
-name: Sync Camel Spring Boot Main Branch
+name: Sync Camel Spring Boot (Camel 4)
on:
schedule:
@@ -32,21 +32,21 @@ jobs:
with:
repository: apache/camel
persist-credentials: false
- ref: main
+ ref: camel-spring-boot-3.x
path: camel
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'temurin'
- java-version: 11
+ java-version: 17
cache: 'maven'
- name: Build Camel Project
run: ./mvnw -V --no-transfer-progress clean install -DskipTests
working-directory: ${{ github.workspace }}/camel
- name: Checkout Camel-spring-boot project
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
- ref: main
+ ref: camel-spring-boot-3.x
persist-credentials: false
fetch-depth: 0
- name: Build Camel-spring-boot Project
@@ -54,10 +54,10 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4.2.3
with:
- base: main
+ base: camel-spring-boot-3.x
token: ${{ secrets.GITHUB_TOKEN }}
branch: automatic-periodic-sync
- title: '[Github Actions] Periodic Sync Camel Spring Boot Main Branch'
+ title: '[Github Actions] Periodic Sync Camel Spring Boot (Camel 3)'
body: |
Periodic Sync of Camel Spring Boot Main Branch with main Camel Main.
- see https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-main.yml
+ see https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-camel-3.yml
diff --git a/.github/workflows/automatic-sync-main.yml b/.github/workflows/automatic-sync-main.yml
index 30fefbd94d9..e8ad026fe1c 100644
--- a/.github/workflows/automatic-sync-main.yml
+++ b/.github/workflows/automatic-sync-main.yml
@@ -15,7 +15,7 @@
# limitations under the License.
#
-name: Sync Camel Spring Boot Main Branch
+name: Sync Camel Spring Boot (Camel 4)
on:
schedule:
@@ -44,7 +44,7 @@ jobs:
run: ./mvnw -V --no-transfer-progress clean install -DskipTests
working-directory: ${{ github.workspace }}/camel
- name: Checkout Camel-spring-boot project
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
ref: main
persist-credentials: false
@@ -57,7 +57,7 @@ jobs:
base: main
token: ${{ secrets.GITHUB_TOKEN }}
branch: automatic-periodic-sync
- title: '[Github Actions] Periodic Sync Camel Spring Boot Main Branch'
+ title: '[Github Actions] Periodic Sync Camel Spring Boot (Camel 4)'
body: |
Periodic Sync of Camel Spring Boot Main Branch with main Camel Main.
see https://github.com/apache/camel-spring-boot/blob/main/.github/workflows/automatic-sync-main.yml