Skip to content

Commit 2cd9623

Browse files
committed
fix: build chlog error on action steps
1 parent 7c99b61 commit 2cd9623

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,5 @@ jobs:
6767
- name: Build and run chlog
6868
if: ${{ matrix.go_version == 'stable' }}
6969
run: |
70-
go install ./cmd/chlog
71-
chlog --help
70+
cd cmd/chlog && go install .
71+
chlog --help

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- name: Generate changelog
3939
run: |
40-
go install ./cmd/chlog
40+
cd cmd/chlog && go install .
4141
chlog -c .github/changelog.yml -o changelog.md prev last
4242
4343
# https://github.com/softprops/action-gh-release

0 commit comments

Comments
 (0)