From 6477147d2ee192ff856c1e122af9e988a81aff87 Mon Sep 17 00:00:00 2001 From: Tom French Date: Mon, 11 Sep 2023 10:45:39 +0100 Subject: [PATCH] chore(ci): install `cross` as prebuild-binary --- .github/workflows/publish.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8d6fd93b113..34f2db7e639 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -139,10 +139,13 @@ jobs: with: targets: ${{ matrix.target }} + - name: Install Cross + uses: taiki-e/install-action@v2 + with: + tool: cross@0.2.5 + - name: Build Nargo - run: | - cargo install cross --version 0.2.5 --force - cross build --package nargo_cli --release --target=${{ matrix.target }} --no-default-features --features "${{ inputs.features }}" + run: cross build --package nargo_cli --release --target=${{ matrix.target }} --no-default-features --features "${{ inputs.features }}" - uses: actions/cache/save@v3 # Don't create cache entries for the merge queue.