From 23aac9fa08954f4d935e77a2b4fa4e2f1e57542c Mon Sep 17 00:00:00 2001 From: Andrej Mihajlov Date: Tue, 29 Oct 2024 11:27:00 +0100 Subject: [PATCH] Use targets to install additional rust targets --- .github/workflows/build-nym-vpn-core-ios.yml | 8 +------- .github/workflows/build-nym-vpn-core-mac.yml | 5 +---- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build-nym-vpn-core-ios.yml b/.github/workflows/build-nym-vpn-core-ios.yml index 88695e65d8..9b30ea667e 100644 --- a/.github/workflows/build-nym-vpn-core-ios.yml +++ b/.github/workflows/build-nym-vpn-core-ios.yml @@ -33,13 +33,7 @@ jobs: with: toolchain: stable components: rustfmt, clippy - - - name: Install extra arch apple - run: | - rustup target add x86_64-apple-darwin - rustup target add aarch64-apple-ios - rustup target add x86_64-apple-ios - rustup target add aarch64-apple-ios-sim + targets: x86_64-apple-darwin aarch64-apple-ios x86_64-apple-ios aarch64-apple-ios-sim - name: Setup cargo swift run: | diff --git a/.github/workflows/build-nym-vpn-core-mac.yml b/.github/workflows/build-nym-vpn-core-mac.yml index f94e26ba5b..de2b2263c2 100644 --- a/.github/workflows/build-nym-vpn-core-mac.yml +++ b/.github/workflows/build-nym-vpn-core-mac.yml @@ -26,10 +26,7 @@ jobs: with: toolchain: stable components: rustfmt, clippy - - - name: Install extra arch apple - run: | - rustup target add x86_64-apple-darwin + targets: x86_64-apple-darwin aarch64-apple-darwin - name: Install Go toochain uses: actions/setup-go@v5