From 9efe1b09026c9a78a65af9046a4c59491cbe0e79 Mon Sep 17 00:00:00 2001 From: turnoffthiscomputer <98749896+remicolin@users.noreply.github.com> Date: Mon, 16 Jun 2025 05:31:11 -0400 Subject: [PATCH] fix ci (#626) --- .github/actions/mobile-setup/action.yml | 1 + .github/actions/yarn-install/action.yml | 3 ++- .github/workflows/artifacts.yml | 8 +++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/actions/mobile-setup/action.yml b/.github/actions/mobile-setup/action.yml index 82429762c..291c0598f 100644 --- a/.github/actions/mobile-setup/action.yml +++ b/.github/actions/mobile-setup/action.yml @@ -52,5 +52,6 @@ runs: run: | cd ${{ inputs.app_path }} corepack enable + yarn set version 4.6.0 yarn install yarn install-app:deploy diff --git a/.github/actions/yarn-install/action.yml b/.github/actions/yarn-install/action.yml index 11e4fc824..24eb20f27 100644 --- a/.github/actions/yarn-install/action.yml +++ b/.github/actions/yarn-install/action.yml @@ -15,7 +15,8 @@ runs: shell: bash run: | corepack enable - corepack prepare yarn@4.5.0 --activate + corepack prepare yarn@4.6.0 --activate + yarn set version 4.6.0 - name: Setup Node.js uses: actions/setup-node@v4 diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index d5827be3a..8c434c7ec 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -40,7 +40,9 @@ jobs: - name: Install dependencies run: | - npm i -g yarn && cd circuits && yarn + corepack enable + yarn set version 4.6.0 + cd circuits && yarn - name: Setup Rust uses: dtolnay/rust-toolchain@stable @@ -58,8 +60,8 @@ jobs: - name: Build cpp circuits run: | chmod +x circuits/scripts/build/build_cpp.sh && \ - ./circuits/scripts/build/build_cpp.sh register && - ./circuits/scripts/build/build_cpp.sh disclose && + ./circuits/scripts/build/build_cpp.sh register && + ./circuits/scripts/build/build_cpp.sh disclose && ./circuits/scripts/build/build_cpp.sh dsc - name: Upload Artifact