Skip to content

Commit

Permalink
构建测试
Browse files Browse the repository at this point in the history
  • Loading branch information
danbai225 committed Jan 28, 2024
1 parent ff6ae62 commit aff0fbb
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@ jobs:
with:
distribution: goreleaser
version: latest
args: "release --rm-dist --config=<(echo '
builds:
- id: gpp
main: ./cmd/gpp/main.go
binary: gpp
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
')"
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 11 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
builds:
- id: gpp
main: ./cmd/gpp/main.go
binary: gpp
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64

0 comments on commit aff0fbb

Please sign in to comment.