From 335748a4d161a7b47496d12ee8a5aa64c31d4937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Fri, 24 Nov 2023 09:28:50 +0100 Subject: [PATCH] Adapt CI job using Kaoto main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit part of #400 Signed-off-by: Aurélien Pupier --- .github/workflows/main-kaoto.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main-kaoto.yaml b/.github/workflows/main-kaoto.yaml index 52ae878b..a70b6a8d 100644 --- a/.github/workflows/main-kaoto.yaml +++ b/.github/workflows/main-kaoto.yaml @@ -1,8 +1,8 @@ on: push: - branches: [ main ] + branches: [ main, feat/kaoto-next ] pull_request: - branches: [ main ] + branches: [ main, feat/kaoto-next ] workflow_dispatch: name: Build with main branch of kaoto-ui @@ -20,19 +20,23 @@ jobs: uses: actions/checkout@v4 with: path: vscode-kaoto - - name: Checkout kaoto-ui + - name: Checkout Kaoto uses: actions/checkout@v4 with: - path: kaoto-ui - repository: KaotoIO/kaoto-ui + path: kaoto-next + repository: KaotoIO/kaoto-next - uses: actions/setup-node@v4 with: node-version: '18.15.x' - - name: Kaoto-ui build + - uses: actions/setup-java@v3 + with: + distribution: 'temurin' + java-version: '17' + - name: Kaoto build working-directory: kaoto-ui run: | yarn - yarn workspace @kaoto/kaoto-ui run build:lib + yarn workspace @kaoto-next/ui run build:lib - name: yarn link kaoto-ui working-directory: vscode-kaoto run: yarn link ../kaoto-ui/packages/kaoto-ui