Skip to content

Commit

Permalink
update release gh action
Browse files Browse the repository at this point in the history
Signed-off-by: Pouyan Heyratpour <[email protected]>
  • Loading branch information
pouyanh committed Jul 28, 2023
1 parent 3b2b2aa commit 7a5085e
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,18 @@ on:
release:
types: [ created ]

permissions:
contents: write
packages: write

jobs:
releases-matrix:
release-binaries:
name: Release Executable Binary
runs-on: ubuntu-latest
strategy:
matrix:
goos: [linux]
goarch: [386, amd64, arm, arm64]
goos: [ linux ]
goarch: [ 386, amd64, arm, arm64 ]
steps:
- uses: actions/checkout@v3
- uses: wangyoucao577/[email protected]
Expand All @@ -22,3 +26,4 @@ jobs:
goversion: "1.20"
project_path: "./cmd/polywatch"
binary_name: polywatch
extra_files: LICENSE pw.example.yml

0 comments on commit 7a5085e

Please sign in to comment.