From f4b58043bad7239d731ac290b2a8f67917ba5213 Mon Sep 17 00:00:00 2001 From: CLoZengineer <108562102+CLoZengineer@users.noreply.github.com> Date: Tue, 25 Oct 2022 10:41:39 -0400 Subject: [PATCH] chore: adds release workflow with basic build step (#2182) * adds release workflow with basic build step Co-authored-by: Christopher Lowenthal --- .github/workflows/release.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 000000000..c6de7bda0 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,25 @@ +name: Release + +on: workflow_dispatch + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + goos: + - "darwin" + - "linux" + goarch: + - "amd64" + - "arm64" + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-go@v3 + with: + go-version: "^1.19.1" + + - name: build + run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./build/${{ matrix.goos }}-${{ matrix.goarch }}