From 4fa9ad6daa70cd18287b39ec0b42ef6acf8b33e6 Mon Sep 17 00:00:00 2001 From: sallam <108616378+h0tak88r@users.noreply.github.com> Date: Wed, 14 Feb 2024 14:45:52 -0500 Subject: [PATCH] Create release-binary.yml --- .github/workflows/release-binary.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release-binary.yml diff --git a/.github/workflows/release-binary.yml b/.github/workflows/release-binary.yml new file mode 100644 index 0000000..14d93c9 --- /dev/null +++ b/.github/workflows/release-binary.yml @@ -0,0 +1,28 @@ +name: 🎉 Release Binary + +on: + push: + tags: + - v* + workflow_dispatch: + +jobs: + release: + runs-on: ubuntu-latest-16-cores + 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.21.x + + - name: "Create release on GitHub" + uses: goreleaser/goreleaser-action@v4 + with: + args: "release --clean" + version: latest + workdir: .