Fix artifact lookup for ubuntu-20.04

This commit is contained in:
Henry Mercer 2022-10-27 17:56:45 +01:00
parent a31200481f
commit 993ca05cd7

View file

@ -85,7 +85,9 @@ jobs:
LANGUAGES="cpp csharp go java javascript python"
for version in $VERSIONS; do
if [[ "$version" =~ stable-(20210308|20210319|20210809) ]]; then
OPERATING_SYSTEMS="ubuntu-20.04 macos-latest"
# Note the absence of the period in "ubuntu-2004": this is present in the image name
# but not the artifact name
OPERATING_SYSTEMS="ubuntu-2004 macos-latest"
else
OPERATING_SYSTEMS="ubuntu-latest macos-latest"
fi