Skip to content

Commit

Permalink
Merge pull request #41 from FleexSecurity/add-release-ci
Browse files Browse the repository at this point in the history
added release ci
  • Loading branch information
xm1k3 committed Oct 5, 2023
2 parents ab90e13 + 1dd8425 commit b751cfe
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release_binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: 🎉 Release Binary

on:
push:
tags:
- v*
workflow_dispatch:

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: "Check out code"
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: "Set up Go"
uses: actions/setup-go@v4
with:
go-version: 1.19
check-latest: true
cache: true

- name: "Create release on GitHub"
uses: goreleaser/goreleaser-action@v4
with:
args: "release --clean"
version: latest
workdir: .
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit b751cfe

Please sign in to comment.