Skip to content

Commit

Permalink
Modify release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bradsec committed Dec 22, 2024
1 parent 5c2e6b7 commit 0c54657
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
tags:
- 'v*.*.*'

# Add permissions block here
permissions:
contents: write

Expand Down Expand Up @@ -34,9 +33,10 @@ jobs:

- name: Build binaries for multiple platforms
run: |
GOARCH=amd64 GOOS=linux go build -o gocamo-linux-amd64
GOARCH=amd64 GOOS=windows go build -o gocamo-windows-amd64.exe
GOARCH=amd64 GOOS=darwin go build -o gocamo-darwin-amd64
cd cmd/gocamo
GOARCH=amd64 GOOS=linux go build -o ../../gocamo-linux-amd64
GOARCH=amd64 GOOS=windows go build -o ../../gocamo-windows-amd64.exe
GOARCH=amd64 GOOS=darwin go build -o ../../gocamo-darwin-amd64
- name: Create Release and Upload Assets
uses: softprops/action-gh-release@v1
Expand Down

0 comments on commit 0c54657

Please sign in to comment.