Skip to content

Commit

Permalink
chore(ci): release binary when publish binary (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
albttx authored Apr 7, 2023
1 parent d65d9b5 commit f3651e7
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/release-binary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Release Binaries

on:
release:
types: [ published ]

jobs:
binary:
runs-on: ubuntu-latest
env:
working-directory: go/src/github.com/gnolang/supernova

steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19

- name: Checkout
uses: actions/checkout@v3
with:
path: ${{ env.working-directory }}
fetch-depth: 0

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
workdir: ${{ env.working-directory }}
version: 1.13.0
args: release --rm-dist

0 comments on commit f3651e7

Please sign in to comment.