From 8fb9bf8262e1838d089c896bf03f6fa7c40a52d4 Mon Sep 17 00:00:00 2001 From: Jose Storopoli Date: Sat, 24 Aug 2024 14:27:21 -0300 Subject: [PATCH] ci: fix cron update-cargo-semver-checks typo in the comparison inside jq --- .github/workflows/cron-weekly-update-cargo-semver-checks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cron-weekly-update-cargo-semver-checks.yml b/.github/workflows/cron-weekly-update-cargo-semver-checks.yml index 5f18f42c46..34180f694c 100644 --- a/.github/workflows/cron-weekly-update-cargo-semver-checks.yml +++ b/.github/workflows/cron-weekly-update-cargo-semver-checks.yml @@ -14,7 +14,7 @@ jobs: set -x # Grab the latest version of cargo semver-checks from crates.io # that is not yanked. - LATEST_VERSION=$(curl --proto '=https' --tlsv1.3 -sSf https://crates.io/api/v1/crates/cargo-semver-checks/versions | jq -r 'first( .versions[] | select(.yanked =- false) ) | .num') + LATEST_VERSION=$(curl --proto '=https' --tlsv1.3 -sSf https://crates.io/api/v1/crates/cargo-semver-checks/versions | jq -r 'first( .versions[] | select(.yanked == false) ) | .num') # Update the latest version in the reference file. echo "${LATEST_VERSION}" > ./.github/workflows/cargo-semver-checks-version echo "cargo_semver_checks_version=${LATEST_VERSION}" >> $GITHUB_ENV