Skip to content

Commit

Permalink
Release binaries (#17)
Browse files Browse the repository at this point in the history
Co-authored-by: Karim Blidi <karim@chainlayer.io>
  • Loading branch information
HailD and Karim Blidi authored Feb 4, 2023
1 parent 7e3ce28 commit d3bf3d8
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Release to GitHub"

on:
push:
# Create releases only on tags
tags:
- "*"

jobs:
build:
name: GoReleaser build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Go setup
uses: actions/setup-go@v3
with:
go-version: 1.18.5
id: go

- name: Release binaries
uses: goreleaser/goreleaser-action@master
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }}

0 comments on commit d3bf3d8

Please sign in to comment.