Explicitly setup a kotlin version

Change the `prepare-test` action to conditionally setup kotlin.
This commit is contained in:
Andrew Eisenberg 2023-10-13 13:05:10 -07:00
parent 7feb9a04fd
commit fcf7c47f2f
37 changed files with 58 additions and 6 deletions

View file

@ -80,7 +80,10 @@ for file in os.listdir('checks'):
'uses': './.github/actions/prepare-test',
'with': {
'version': '${{ matrix.version }}',
'use-all-platform-bundle': useAllPlatformBundle
'use-all-platform-bundle': useAllPlatformBundle,
# If the action is being run from a container, then do not setup kotlin.
# This is because the kotlin binaries cannot be downloaded from the container.
'setup-kotlin': not 'container' in checkSpecification,
}
},
# We don't support Swift on Windows or prior versions of the CLI.