Skip to content

Commit

Permalink
Adding release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
securitym0nkey committed May 22, 2024
1 parent 08d8c63 commit 237daee
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

on:
release:
types: [created]

permissions:
contents: write
packages: write

jobs:
release-linux:
name: release binaries for linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wangyoucao577/go-release-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64
multi_binaries: true
project_path: "./cmd/..."
goversion: "go.mod"
extra_files: LICENSE README.md

0 comments on commit 237daee

Please sign in to comment.