mirror of
https://github.com/sharkdp/bat.git
synced 2024-11-25 17:23:39 +01:00
Fix jq
expression for retrieving rust-version
in MSRV build job
This commit is contained in:
parent
6428125827
commit
52f6239d28
2
.github/workflows/CICD.yml
vendored
2
.github/workflows/CICD.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get the MSRV from the package metadata
|
- name: Get the MSRV from the package metadata
|
||||||
id: msrv
|
id: msrv
|
||||||
run: cargo metadata --no-deps --format-version 1 | jq -r '"version=" + (.packages[] | select(.name = "bat").rust_version)' >> $GITHUB_OUTPUT
|
run: cargo metadata --no-deps --format-version 1 | jq -r '"version=" + (.packages[] | select(.name == "bat")).rust_version' >> $GITHUB_OUTPUT
|
||||||
- name: Install rust toolchain (v${{ steps.msrv.outputs.version }})
|
- name: Install rust toolchain (v${{ steps.msrv.outputs.version }})
|
||||||
uses: dtolnay/rust-toolchain@master
|
uses: dtolnay/rust-toolchain@master
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user