From ac815f62d5b9db02ff30a9ca820a1817760dd1a3 Mon Sep 17 00:00:00 2001 From: alfiankan <alfiankan19@gmail.com> Date: Thu, 29 Dec 2022 17:10:26 +0700 Subject: [PATCH] chore(action): use matrix --- .github/workflows/release.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 43b6cb0..c88c14e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -6,13 +6,13 @@ on: types: - created -jobs: +jobs: releases-matrix: name: Release Matrix runs-on: ubuntu-latest strategy: matrix: - goos: [linux] + goos: [linux, darwin] goarch: [amd64, arm64] steps: - uses: actions/checkout@v3 @@ -21,7 +21,6 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} goos: ${{ matrix.goos }} goarch: ${{ matrix.goarch }} - pre_command: apt-get install gcc && export CGO_ENABLED=1 goversion: "https://dl.google.com/go/go1.18.linux-amd64.tar.gz" project_path: "./cmd" binary_name: "teleterm"