From 62afe924a45cf8b2e05e6e1e5861bc81a831b540 Mon Sep 17 00:00:00 2001 From: Pavel Kisialiou Date: Mon, 3 Feb 2025 14:53:38 +0300 Subject: [PATCH] Update near binary builds --- .github/e2e-setup/action.yml | 7 ++++++- e2e-testing/makefiles/near.mk | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/e2e-setup/action.yml b/.github/e2e-setup/action.yml index 8d2fdba0..d28c5db5 100644 --- a/.github/e2e-setup/action.yml +++ b/.github/e2e-setup/action.yml @@ -90,7 +90,12 @@ runs: uses: taiki-e/cache-cargo-install-action@v2 with: tool: near-cli-rs@0.18.0 - + + - name: Install Cargo Near + uses: taiki-e/cache-cargo-install-action@v2 + with: + tool: cargo-near + - name: Cache Solana CLI and Anchor uses: actions/cache@v3 id: solana-cache diff --git a/e2e-testing/makefiles/near.mk b/e2e-testing/makefiles/near.mk index 01da7a7f..7c5edec0 100644 --- a/e2e-testing/makefiles/near.mk +++ b/e2e-testing/makefiles/near.mk @@ -36,7 +36,7 @@ near-build: $(near_binary_paths) $(near_binary_paths) &: $(call description,Building NEAR contracts) - $(near_dir)/build.sh --output-dir $(near_binary_dir) + OUT_DIR=$(near_binary_dir) make -f $(common_testing_root)/../Makefile rust-build-near # Account creation rules .PHONY: create-near-init-account