Skip to content

Commit c5f043e

Browse files
committed
Explicitly setup a kotlin version
Change the `prepare-test` action to conditionally setup kotlin.
1 parent 7feb9a0 commit c5f043e

7 files changed

+18
-6
lines changed

.github/actions/prepare-test/action.yml

+4
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,7 @@ runs:
5858
echo "::error::Unrecognized version specified!"
5959
exit 1
6060
fi
61+
62+
- uses: fwilhe2/setup-kotlin@fa932efcc943c56bfd69ddace2e61129eb495d58
63+
with:
64+
version: 1.7.21

.github/workflows/__packaging-codescanning-config-inputs-js.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-config-inputs-js.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-config-js.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__packaging-inputs-js.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/__resolve-environment-action.yml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/sync.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@ def writeHeader(checkStream):
8080
'uses': './.github/actions/prepare-test',
8181
'with': {
8282
'version': '${{ matrix.version }}',
83-
'use-all-platform-bundle': useAllPlatformBundle
83+
'use-all-platform-bundle': useAllPlatformBundle,
84+
# If the action is being run from a container, then do not setup kotlin.
85+
# This is because the kotlin binaries cannot be downloaded from the container.
86+
'setup-kotlin': not 'container' in checkSpecification,
8487
}
8588
},
8689
# We don't support Swift on Windows or prior versions of the CLI.

0 commit comments

Comments
 (0)