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-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 60aab30a5 ci: Use latest RAT release
60aab30a5 is described below

commit 60aab30a594007df071993d83a920dd005808aec
Author: Szymon Janc <szymon.j...@codecoup.pl>
AuthorDate: Fri Feb 16 17:31:10 2024 +0100

    ci: Use latest RAT release
    
    RAT 0.16.1 was released so we no longer need to use snapshots
    for SPDX support.
---
 .github/workflows/compliance_check.yml | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/compliance_check.yml 
b/.github/workflows/compliance_check.yml
index c76225a8e..9b2ee7631 100644
--- a/.github/workflows/compliance_check.yml
+++ b/.github/workflows/compliance_check.yml
@@ -51,15 +51,11 @@ jobs:
       - name: Install Dependencies
         shell: bash
         run: |
-             sudo apt-get update
-             sudo apt-get install -y libxml2-utils
              mkdir repos
              git clone --depth=1 https://github.com/apache/mynewt-core 
repos/apache-mynewt-core
-             wget 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/maven-metadata.xml
 -O snapshot.xml
-             SNAPSHOT=`xmllint --xpath "//latest/text()" snapshot.xml`
-             wget 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/$SNAPSHOT/maven-metadata.xml
 -O version.xml
-             VERSION=`xmllint --xpath "//snapshotVersion[1]/value/text()" 
version.xml`
-             wget 
https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/$SNAPSHOT/apache-rat-$VERSION.jar
 -O apache-rat.jar
+             wget 
https://dlcdn.apache.org//creadur/apache-rat-0.16.1/apache-rat-0.16.1-bin.tar.gz
+             tar zxf apache-rat-0.16.1-bin.tar.gz 
apache-rat-0.16.1/apache-rat-0.16.1.jar
+             mv apache-rat-0.16.1/apache-rat-0.16.1.jar apache-rat.jar
       - name: check licensing
         shell: bash
         run: |

Reply via email to