Skip to content

Commit

Permalink
chore(dependencies-check): remove dash tool jar from repo
Browse files Browse the repository at this point in the history
move to downloading the tool at every run
  • Loading branch information
evegufy committed May 22, 2024
1 parent 509d45c commit 41bfcc9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 18 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,11 @@ jobs:
- name: List packages
run: dotnet list src package --include-transitive --interactive | grep ">" | grep -Pv "\s(Org.Eclipse.TractusX|Microsoft|NuGet|System|runtime|docker|Docker|NETStandard)" | sed -E -e "s/\s+> ([a-zA-Z\.\-]+).+\s([0-9]+\.[0-9]+\.[0-9]+)\s*/nuget\/nuget\/\-\/\1\/\2/g" | awk '!seen[$0]++' > PACKAGES

- name: Download Eclipse Dash Tool
run: curl -L --output ./org.eclipse.dash.licenses.jar 'https://repo.eclipse.org/service/local/artifact/maven/redirect?r=dash-licenses&g=org.eclipse.dash&a=org.eclipse.dash.licenses&v=LATEST'

- name: Generate Dependencies file
run: java -jar ./scripts/download/org.eclipse.dash.licenses-1.1.1.jar PACKAGES -project automotive.tractusx -summary DEPENDENCIES || true
run: java -jar ./org.eclipse.dash.licenses.jar PACKAGES -project automotive.tractusx -summary DEPENDENCIES || true

- name: Check if dependencies were changed
id: dependencies-changed
Expand Down
17 changes: 0 additions & 17 deletions scripts/check-dependencies.md

This file was deleted.

Binary file removed scripts/download/org.eclipse.dash.licenses-1.1.1.jar
Binary file not shown.

0 comments on commit 41bfcc9

Please sign in to comment.