Skip to content

Commit 5a28bd1

Browse files
Fixed release branch action (#446)
1 parent 65e877c commit 5a28bd1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release-branch.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,15 @@ jobs:
2525
uses: actions/[email protected]
2626
with:
2727
fetch-depth: 0 #required for tags
28+
29+
- name: Setup Go
30+
uses: actions/setup-go@v2
31+
with:
32+
go-version: "1.17"
33+
2834
- name: Create the licence report file
2935
run: |
30-
go-licenses csv cmd/manager/main.go --stderrthreshold 3 > third_party_licenses.txt
36+
go get github.com/google/go-licenses && go-licenses csv cmd/manager/main.go --stderrthreshold 3 > third_party_licenses.txt
3137
3238
- name: Commit and push licence report file
3339
uses: ./.github/actions/push-files

0 commit comments

Comments
 (0)