diff --git a/.github/workflows/licenses.yml b/.github/workflows/licenses.yml index e1308f6ee..3b3b6eccd 100644 --- a/.github/workflows/licenses.yml +++ b/.github/workflows/licenses.yml @@ -22,6 +22,7 @@ jobs: - name: Generate Go license notices run: | go install github.com/google/go-licenses@latest + mkdir "$LICENSE_DIR" go-licenses report "$GOPACKAGE" --template=../.github/licenses.tmpl --stderrthreshold=ERROR --logtostderr=false > "$LICENSE_DIR"/README.md go-licenses save "$GOPACKAGE" --stderrthreshold=ERROR --logtostderr=false --save_path "$LICENSE_DIR"