Skip to content

Commit 8b866b1

Browse files
committed
Default Python version cleanups
1 parent 0159dd0 commit 8b866b1

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.github/actions/setup-python/action.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,14 @@ runs:
1414
shell: bash
1515
run: |
1616
version="3.10"
17-
echo "full_version=${version}.11"
18-
if [ $RUNNER_OS = Windows ]; then
19-
echo "command=py -$version"
20-
else
21-
echo "command=python$version"
22-
fi >> $GITHUB_OUTPUT
17+
(
18+
echo "full-version=${version}.11"
19+
if [ $RUNNER_OS = Windows ]; then
20+
echo "command=py -$version"
21+
else
22+
echo "command=python$version"
23+
fi
24+
) >> $GITHUB_OUTPUT
2325
2426
- uses: actions/[email protected]
2527
with:
@@ -31,7 +33,7 @@ runs:
3133
3.7
3234
3.8
3335
3.9
34-
${{ steps.python-default.outputs.full_version }}
36+
${{ steps.python-default.outputs.full-version }}
3537
3.11
3638
3.12
3739
3.13

product/gradle-plugin/src/test/integration/test_gradle_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ def test_missing(self):
527527
def test_invalid(self):
528528
run = self.RunGradle("base", "AbiFilters/invalid", succeed=False)
529529
self.assertInLong(
530-
"Variant 'debug': Python 3.8 is not available for the ABI 'armeabi'. "
530+
"Variant 'debug': Python 3.10 is not available for the ABI 'armeabi'. "
531531
"Supported ABIs are [arm64-v8a, armeabi-v7a, x86, x86_64].",
532532
run.stderr)
533533

0 commit comments

Comments
 (0)