Skip to content

Commit

Permalink
fix: strip and make binary executable before building artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
codelif authored Mar 30, 2024
1 parent 38be0e0 commit c1320f7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,11 @@ jobs:
go-version: '1.22.1'

- name: Build
run: go build -v ./cmd/hyprnotify

run: |
go build -v ./cmd/hyprnotify
strip hyprnotify
chmod +x hyprnotify
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.1
with:
Expand Down

0 comments on commit c1320f7

Please sign in to comment.