Skip to content

Commit

Permalink
ci: build and release
Browse files Browse the repository at this point in the history
  • Loading branch information
1Conan committed Jun 24, 2024
1 parent ac91856 commit 9b9c2d2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build & Release
on:
push:

jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-go@v5
with:
go-version: '1.21.1'

- name: Build
run: cd src && ./make.bash

- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.head_ref || github.ref_name }}/${{ github.sha }}
files: |
bin/go
bin/gofmt

0 comments on commit 9b9c2d2

Please sign in to comment.