From 1888f96179d49ecf5f49b34506b5da193f5c3222 Mon Sep 17 00:00:00 2001 From: Ikramullah Date: Fri, 13 Sep 2024 15:15:53 +0700 Subject: [PATCH] chore!(github): manually build for darwin --- .github/workflows/build-binary-darwin.yml | 26 ++++++++++++++--------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-binary-darwin.yml b/.github/workflows/build-binary-darwin.yml index 78d3259..257b455 100644 --- a/.github/workflows/build-binary-darwin.yml +++ b/.github/workflows/build-binary-darwin.yml @@ -6,13 +6,19 @@ on: - github/darwin-macos jobs: - test-build: - strategy: - matrix: - make_command: [build-client-darwin, build-tunnel-darwin] - uses: ./.github/workflows/reusable-build-golang-alpine.yml - with: - make_command: ${{ matrix.make_command }} - runner: macos-latest - binary_name: mdrop-darwin - secrets: inherit + build: + runs-on: ${{ inputs.runner }} + container: + image: docker.io/library/golang:alpine + steps: + - name: Check Out Repo + uses: actions/checkout@v3 + with: + fetch-depth: 1 + - name: Setup Go + uses: actions/setup-go@v3 + if: ${{ inputs.runner != 'ubuntu-latest' }} + with: + go-version: 1.22 + - name: Build app + run: make build-client-general