Skip to content

Commit

Permalink
chore(build): make release save produced binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Umaaz committed Jun 7, 2023
1 parent 9458e51 commit c1a3d2e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/on_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,27 @@ env:
VERSION: ${{ github.ref_name }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.20
uses: actions/setup-go@v3
with:
go-version: 1.20.x

- name: Check out code
uses: actions/checkout@v3

- name: Build
run: make deep

- uses: xresloader/upload-to-github-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
file: "bin/dist/deep-amd64"
update_latest_release: $VERSION

docker:
runs-on: ubuntu-latest

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/intergral/deep)
[![Build & Test](https://github.com/intergral/deep/actions/workflows/on_push.yml/badge.svg)](https://github.com/intergral/deep/actions/workflows/on_push.yml)
# DEEP

DEEP is an open source, easy-to-use and high-scale distributed dynamic monitoring backend. DEEP is cost-efficient,
Expand Down

0 comments on commit c1a3d2e

Please sign in to comment.