Skip to content

Commit 4927bae

Browse files
committed
ci: update build cmd
1 parent 9dd39fe commit 4927bae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323

2424
- name: Build
2525
run: |
26-
go build -o apx -ldflags="-X 'main.Version=${{ github.ref_name }}'"
26+
go build -o apx -ldflags="-X 'main.Version=${{ github.ref_name }}'" ./cmd
2727
tar -czvf apx-amd64.tar.gz apx
28-
GOARCH=arm64 go build -o apx -ldflags="-X 'main.Version=${{ github.sha }}'"
28+
GOARCH=arm64 go build -o apx -ldflags="-X 'main.Version=${{ github.sha }}'" ./cmd
2929
tar -czvf apx-arm64.tar.gz apx
3030
tar -czvf apx-man.tar.gz man/man1/apx.1
3131

0 commit comments

Comments
 (0)