Skip to content

Commit

Permalink
install license detector
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit committed Jul 5, 2024
1 parent 4a1f684 commit a4c67c1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/generate-notice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@ jobs:
working-directory: ${{ matrix.module }}
run: go install go.elastic.co/go-licence-detector


- name: Print Dependencies
- name: Generate NOTICE.MD
working-directory: ${{ matrix.module }}
run: |
go list -m -json all | go-licence-detector -includeIndirect -noticeTemplate=.github/templates/NOTICE.txt.tmpl -noticeOut=NOTICE.txt -depsTemplate=.github/templates/dependencies.asciidoc.tmpl -depsOut=dependencies.asciidoc
cat dependencies.asciidoc
cat NOTICE.txt
go list -m -json all | go-licence-detector -includeIndirect -noticeTemplate=../.github/templates/NOTICE.txt.tmpl -noticeOut=../NOTICE.MD -depsTemplate=../.github/templates/dependencies.asciidoc.tmpl -depsOut=dependencies.asciidoc
rm dependencies.asciidoc

0 comments on commit a4c67c1

Please sign in to comment.