diff --git a/action.yaml b/action.yaml index 6f08799..d9a4e6d 100644 --- a/action.yaml +++ b/action.yaml @@ -71,7 +71,7 @@ runs: if [ $(echo $PREFECT_SHORT_VERSION'<'10.14 | bc -l) -eq 1 ]; then echo "The currently installed Prefect version (2.$PREFECT_SHORT_VERSION) will be updated to the latest to ensure compatibility with this action." - pip install prefect -U "prefect>=2.10.14" + pip install prefect -U "prefect>=2.10.14,<3" fi if [ ${{ inputs.all-deployments }} == "true" ]; then