diff --git a/entrypoint.sh b/entrypoint.sh index 7d33880..b0fbff1 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -49,7 +49,7 @@ install_op_cli() { echo "::debug::OP_INSTALL_DIR: ${OP_INSTALL_DIR}" # Get the latest stable version of the CLI - OP_CLI_VERSION="v$(curl https://app-updates.agilebits.com/check/1/0/CLI2/en/2.0.0/N -s | jq -r .version)" + OP_CLI_VERSION="v$(curl https://app-updates.agilebits.com/check/1/0/CLI2/en/2.0.0/N -s | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')" if [[ "$OSTYPE" == "linux-gnu"* ]]; then # Get runner's architecture