Fix Go root path issue

This commit is contained in:
Andy Feller 2024-08-20 23:56:47 -04:00
parent 98294a6840
commit df7c38f8d5

View file

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