Fix go-licenses ordering

This commit is contained in:
Andy Feller 2024-08-21 00:02:58 -04:00
parent 341864ec25
commit 0ca266bc9a

View file

@ -21,9 +21,8 @@ jobs:
- name: Generate Go license notices
run: |
go install github.com/google/go-licenses@latest
mkdir "$LICENSE_DIR"
GOROOT=$(go env GOROOT) go-licenses report ./... --template=.github/licenses.tmpl --stderrthreshold=ERROR --logtostderr=false > "$LICENSE_DIR"/README.md
GOROOT=$(go env GOROOT) go-licenses save ./... --stderrthreshold=ERROR --logtostderr=false --save_path "$LICENSE_DIR"
GOROOT=$(go env GOROOT) go-licenses report ./... --template=.github/licenses.tmpl --stderrthreshold=ERROR --logtostderr=false > "$LICENSE_DIR"/README.md
- name: Upload Go license notices
run: |