Hello!
Is there a special reason why there is no property to define the wanted version of Wordpress?
In my opinion it would just be one additional parameter version in the task core.yml -> core | download like for example:
wp-cli core download
--allow-root --no-color --path='{{ item.item.path }}'
--locale='{{ item.item.locale | default('en_US') }}'
--version='{{ item.item.version| default('6.2') }}'
Thanks for your time and work!
EDIT:
I created a pull-request for this #61