Skip to content

Commit

Permalink
Build: Add build output to tags assets
Browse files Browse the repository at this point in the history
  • Loading branch information
emranbm committed Nov 9, 2022
1 parent bd4171f commit 1dd327d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
push:
branches:
- master
tags:
- '*'
pull_request:
branches:
- master
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Main Workflow
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.19.2'
- name: Build
run: go build -o semangit .
- name: Smoke test
run: ./semangit --help
- name: Upload binary to release
uses: svenstaro/upload-release-action@v2
with:
file: semangit

0 comments on commit 1dd327d

Please sign in to comment.