From 664f398e43a6693eb54255e08fc0968dc0724d5c 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 ++++++- .github/workflows/e2e-test.yml | 4 ---- e2e-testing/makefiles/near.mk | 2 +- 3 files changed, 7 insertions(+), 6 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/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 22efb956..3b4ad44a 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -57,10 +57,6 @@ jobs: - name: Run pipeline run: | - pwd - ls -la ./e2e-testing/generated/near_artifacts - find . -name "near_artifacts" - echo "Running pipeline: ${{ matrix.pipeline }}" cd e2e-testing && make ${{ matrix.pipeline }} 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