Skip to content

Commit dcbe60c

Browse files
committed
fix: gh release action run build bin error
1 parent 8052e7a commit dcbe60c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,12 @@ jobs:
3030
echo "RELEASE_NAME=$GITHUB_WORKFLOW" >> $GITHUB_ENV
3131
3232
- name: Build bin package
33-
run: make build-all
33+
run: |
34+
cd cmd/chlog && go mod tidy
35+
make build-all
3436
3537
- name: Generate changelog
3638
run: |
37-
cd cmd/chlog && go mod tidy
3839
go install ./cmd/chlog
3940
chlog -c .github/changelog.yml -o changelog.md prev last
4041

0 commit comments

Comments
 (0)