Skip to content

Commit

Permalink
[update] 编译工作流
Browse files Browse the repository at this point in the history
  • Loading branch information
lazydog28 committed Aug 20, 2024
1 parent 0d68a03 commit 81b5147
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
go-version: '1.20'

- name: Build
run: go build -v -o dist/
# 编译文件 文件名称为 dist/${{ matrix.goos }}_${{ matrix.goarch }}_
run: go build -v -o dist/natter_${{ matrix.goos }}_${{ matrix.goarch }}_${{ github.event.inputs.VERSION }}
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
Expand Down

0 comments on commit 81b5147

Please sign in to comment.