fix: omit minor from version discovery

Signed-off-by: gardar <gardar@users.noreply.github.com>
This commit is contained in:
gardar 2023-04-11 14:08:59 +00:00
parent 327b04203a
commit 3b2601a298
No known key found for this signature in database
GPG key ID: 75FAE37CBA8C13C2

View file

@ -35,7 +35,7 @@ jobs:
id: supported-ansible-versions
uses: mikefarah/yq@master
with:
cmd: yq -o json -I=0 '.requires_ansible | split(",") | .[] |= sub("(.*?)(\d+\.\d+)"; "stable-${2}")' meta/runtime.yml
cmd: yq -o json -I=0 '.requires_ansible | split(",") | .[] |= sub("(.*?)(\d+\.\d+)(.*)"; "stable-${2}")' meta/runtime.yml
ansible-test-sanity:
uses: ./.github/workflows/ansible-test-sanity.yml