diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml new file mode 100644 index 00000000000000..21c9476019d00c --- /dev/null +++ b/.github/workflows/build-release.yml @@ -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