From 4049bcaba1812d0fbd560e6a00eb3f35e44b6301 Mon Sep 17 00:00:00 2001 From: Leigh McCulloch <351529+leighmcculloch@users.noreply.github.com> Date: Thu, 4 Jan 2024 13:43:01 +1000 Subject: [PATCH] fix --- .github/workflows/rust.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index ef0b35fd..2b0f4dd3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -61,7 +61,9 @@ jobs: - uses: stellar/actions/rust-cache@main - name: Get minimum supported Rust version id: msrv - run: echo msrv="$(cargo metadata --format-version 1 | jq -r '.packages.[] | select(.name == "stellar-xdr") | .rust_version')" >> $GITHUB_OUTPUT + run: | + cargo metadata --format-version 1 | jq -r '.packages.[] | select(.name == "stellar-xdr") | .rust_version' + echo msrv="$(cargo metadata --format-version 1 | jq -r '.packages.[] | select(.name == "stellar-xdr") | .rust_version')" >> $GITHUB_OUTPUT - name: Installing the minimum supported Rust version run: rustup default ${{ steps.msrv.outputs.msrv }} - run: rustup target add ${{ matrix.sys.target }}