From b0833c23101b7fa0b6c6037538d7b54419f7ae91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20H=C3=A4ggblad?= Date: Mon, 12 Feb 2024 14:10:23 +0100 Subject: [PATCH] Fix release nym-vpn-cli workflow --- .github/workflows/release-nym-vpn-cli.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-nym-vpn-cli.yml b/.github/workflows/release-nym-vpn-cli.yml index 3e6028e988..753e296bc7 100644 --- a/.github/workflows/release-nym-vpn-cli.yml +++ b/.github/workflows/release-nym-vpn-cli.yml @@ -24,7 +24,7 @@ jobs: build-wireguard-go: strategy: matrix: - os: [ubuntu-22.04, macos-latest, custom-runner-mac-m1] + os: [ubuntu-22.04, macos-12, custom-runner-mac-m1] uses: ./.github/workflows/build-wireguard-go.yml with: os: ${{ matrix.os }} @@ -34,7 +34,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, macos-latest, custom-runner-mac-m1] + os: [ubuntu-22.04, macos-12, custom-runner-mac-m1] runs-on: ${{ matrix.os }} env: WG_GO_LIB_PATH: ${{ github.workspace }}/lib @@ -86,9 +86,9 @@ jobs: platform_arch=ubuntu-22.04_x86_64 elif ${{ contains(matrix.os, 'ubuntu-20.04') }}; then platform_arch=ubuntu-20.04_x86_64 - elif ${{ contains(matrix.os, 'mac-m1') }}; then + elif ${{ matrix.os == 'custom-runner-mac-m1' || matrix.os == 'macos-13-xlarge' || matrix.os == 'macos-14' }}; then platform_arch=macos_aarch64 - elif ${{ contains(matrix.os, 'macos') }}; then + elif ${{ matrix.os == 'macos-12' || matrix.os == 'macos-13' }}; then platform_arch=macos_x86_64 else echo " ✗ unknown platform/arch [${{ matrix.os }}]"