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

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git


The following commit(s) were added to refs/heads/master by this push:
     new 18653ba50 ci: Setup java for licence check
18653ba50 is described below

commit 18653ba50db38a05a696f8b7e5d537365eb1a872
Author: Szymon Janc <[email protected]>
AuthorDate: Mon Feb 16 14:30:09 2026 +0100

    ci: Setup java for licence check
    
    Java is no longer installed by default on runners.
---
 .github/workflows/check_compliance.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/workflows/check_compliance.yml 
b/.github/workflows/check_compliance.yml
index 85636cb1c..a892f98f1 100644
--- a/.github/workflows/check_compliance.yml
+++ b/.github/workflows/check_compliance.yml
@@ -88,6 +88,10 @@ jobs:
       - uses: actions/checkout@v3
         with:
           fetch-depth: 0
+      - uses: actions/setup-java@v5
+        with:
+          distribution: 'temurin'
+          java-version: '21'
       - name: Install Dependencies
         run: |
              wget 
https://archive.apache.org/dist/creadur/apache-rat-0.17/apache-rat-0.17-bin.tar.gz
@@ -95,6 +99,7 @@ jobs:
              mv apache-rat-0.17/apache-rat-0.17.jar apache-rat.jar
       - name: check licensing
         run: |
+             java --version
              .github/check_license.py
 
   doxygen_check:

Reply via email to