Skip to content

Commit f1d0fa6

Browse files
committed
feat: add build step to GitHub Actions workflow for binary generation
- Introduced a new step in the release workflow to build the binary before generating completions and man pages. - Ensured the build process utilizes the PKG_NAME environment variable for consistency.
1 parent 9c61b74 commit f1d0fa6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
echo "PKG_NAME=$PKG_NAME" >> $GITHUB_ENV
3939
echo "Package name: $PKG_NAME"
4040
41+
- name: Build binary first
42+
run: make build
43+
env:
44+
PKG_NAME: ${{ env.PKG_NAME }}
45+
4146
- name: Generate completions and man pages
4247
run: |
4348
make completions

0 commit comments

Comments
 (0)