Fix go-licenses package targeting
This commit is contained in:
parent
67d7b0752f
commit
98294a6840
1 changed files with 2 additions and 3 deletions
5
.github/workflows/licenses.yml
vendored
5
.github/workflows/licenses.yml
vendored
|
|
@ -4,7 +4,6 @@ on:
|
|||
tags:
|
||||
- "v*"
|
||||
env:
|
||||
GOPACKAGE: github.com/cli/cli/v2
|
||||
LICENSE_DIR: licenses
|
||||
LICENSE_ARCHIVE: licenses.tgz
|
||||
jobs:
|
||||
|
|
@ -23,8 +22,8 @@ jobs:
|
|||
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"
|
||||
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"
|
||||
|
||||
- name: Upload Go license notices
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue