Skip to content

Commit

Permalink
goreleaser only building
Browse files Browse the repository at this point in the history
  • Loading branch information
sw360cab committed Jul 1, 2024
1 parent 2939410 commit 6a4bc19
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions .github/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ builds:
- CGO_ENABLED=0
goos:
- linux
- darwin
# - darwin
goarch:
# - amd64
- arm64
# - arm
goarm:
- 6
- 7
- amd64
# - arm64
# - arm
# goarm:
# - 6
# - 7

gomod:
proxy: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
version: latest
args: build --skip validate --clean --config ./.github/goreleaser.yaml
args: build --snapshot --clean --config .github/goreleaser.yaml --verbose
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
build/*

# Results
*.json
*.json

# gorelease local Leftovers
dist/*

0 comments on commit 6a4bc19

Please sign in to comment.