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

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 4bdc6f14cc2 CAMEL-18826: camel-kudu - Install libtinfo on CI to 
execute all Kudu's unit tests (#8918)
4bdc6f14cc2 is described below

commit 4bdc6f14cc25747a3f50f5f22faf3f36360be1f5
Author: Kengo Seki <sek...@apache.org>
AuthorDate: Mon Dec 19 18:36:12 2022 +0900

    CAMEL-18826: camel-kudu - Install libtinfo on CI to execute all Kudu's unit 
tests (#8918)
---
 .github/actions/install-packages/action.yml | 26 ++++++++++++++++++++++++++
 .github/workflows/pr-build.yml              |  2 ++
 2 files changed, 28 insertions(+)

diff --git a/.github/actions/install-packages/action.yml 
b/.github/actions/install-packages/action.yml
new file mode 100644
index 00000000000..f100119a738
--- /dev/null
+++ b/.github/actions/install-packages/action.yml
@@ -0,0 +1,26 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+name: 'install-packages'
+description: 'Install dependent packages'
+runs:
+  using: "composite"
+  steps:
+    - run: sudo apt-get update
+      shell: bash
+    - run: sudo apt-get install -qqy --no-install-recommends libtinfo5
+      shell: bash
diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml
index c615344c9bf..af0ba6a8052 100644
--- a/.github/workflows/pr-build.yml
+++ b/.github/workflows/pr-build.yml
@@ -77,6 +77,8 @@ jobs:
         with:
           persist-credentials: false
           fetch-depth: 0
+      - id: install-packages
+        uses: ./.github/actions/install-packages
       - id: install-mvnd
         uses: ./.github/actions/install-mvnd
       - name: Set up JDK ${{ matrix.java }}

Reply via email to