Fix working directory error

This commit is contained in:
Andy Feller 2024-08-20 23:48:55 -04:00
parent 36d622ed48
commit e42d44994e

View file

@ -20,11 +20,10 @@ jobs:
go-version-file: 'go.mod'
- name: Generate Go license notices
working-directory: ${{ env.LICENSE_DIR }}
run: |
go install github.com/google/go-licenses@latest
go-licenses report "$GOPACKAGE" --template=../.github/licenses.tmpl --stderrthreshold=ERROR --logtostderr=false > README.md
go-licenses save "$GOPACKAGE" --stderrthreshold=ERROR --logtostderr=false
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"
- name: Upload Go license notices
run: |