mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-02 05:17:23 +00:00
ci: Use latest RAT snapshots
SPDX support is only available in unreleased RAT snapshot so for now use latest snapshots.
This commit is contained in:
@@ -48,11 +48,15 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y libxml2-utils
|
||||||
mkdir repos
|
mkdir repos
|
||||||
git clone --depth=1 https://github.com/apache/mynewt-core repos/apache-mynewt-core
|
git clone --depth=1 https://github.com/apache/mynewt-core repos/apache-mynewt-core
|
||||||
wget https://dlcdn.apache.org//creadur/apache-rat-0.15/apache-rat-0.15-bin.tar.gz
|
wget https://repository.apache.org/content/repositories/snapshots/org/apache/rat/apache-rat/maven-metadata.xml -O snapshot.xml
|
||||||
tar zxf apache-rat-0.15-bin.tar.gz apache-rat-0.15/apache-rat-0.15.jar
|
SNAPSHOT=`xmllint --xpath "//latest/text()" snapshot.xml`
|
||||||
mv apache-rat-0.15/apache-rat-0.15.jar apache-rat.jar
|
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
|
||||||
- name: check licensing
|
- name: check licensing
|
||||||
run: |
|
run: |
|
||||||
./repos/apache-mynewt-core/.github/check_license.py
|
./repos/apache-mynewt-core/.github/check_license.py
|
||||||
|
|||||||
Reference in New Issue
Block a user