From 8c58ee353d18e63726c22cb47c8c07af64624a80 Mon Sep 17 00:00:00 2001 From: Ilya Raykker Date: Mon, 28 Oct 2024 14:30:41 +0400 Subject: [PATCH] Fix macos secretcli builds --- .github/workflows/release.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 8a6dbd95b..ae4754013 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -146,7 +146,7 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [ubuntu-22.04, windows-latest, macos-latest] + os: [ubuntu-22.04, windows-latest, macos-13] steps: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 @@ -163,7 +163,7 @@ jobs: path: secretcli-${{runner.os}} MacOS-ARM64-CLI: - runs-on: macos-12-large + runs-on: macos-latest strategy: fail-fast: false timeout-minutes: 90 @@ -177,7 +177,9 @@ jobs: name: set up go go-version: 1.21 # The Go version to download (if necessary) and use. - name: Build macos darwin/arm64 - run: SGX_MODE=SW make build_cli + run: | + SGX_MODE=SW make build_cli + cp "secretcli" "secretcli-MacOS-arm64" - uses: actions/upload-artifact@v3 with: name: secretcli-MacOS-arm64