Skip to content

Commit

Permalink
added github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
eze-kiel committed Apr 21, 2021
1 parent 4338031 commit a1c87df
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .github/workflows/release_binaries.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Release Go project

on:
push:
tags:
- "*"

builds:
- main: ./cmd/slowql-digest/
id: "digest"
binary: digest
goos:
- linux
- darwin
- windows

- main: ./cmd/slowql-replayer/
id: "replayer"
binary: replayer
goos:
- linux
- darwin
- windows

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

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Set up Go 1.16
uses: actions/setup-go@v2
with:
go-version: 1.16
id: go

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a1c87df

Please sign in to comment.