Fix go-licenses template path error
This commit is contained in:
parent
df7c38f8d5
commit
341864ec25
1 changed files with 1 additions and 1 deletions
2
.github/workflows/licenses.yml
vendored
2
.github/workflows/licenses.yml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
|||
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 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue