Skip to content

Commit 588c72a

Browse files
install Python 3.10 on Windows when not using the docker image
1 parent 30fccd9 commit 588c72a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/swift_package_test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,13 @@ jobs:
628628
exclude:
629629
- ${{ fromJson(inputs.windows_exclude_swift_versions) }}
630630
steps:
631+
- name: Install Python 3.10
632+
if: ${{ !inputs.enable_windows_docker }}
633+
uses: actions/checkout@v5
634+
uses: actions/setup-python@v6
635+
with:
636+
python-version: '3.10'
637+
run: python my_script.py
631638
- name: Checkout repository
632639
uses: actions/checkout@v4
633640
- name: Checkout swiftlang/github-workflows repository

0 commit comments

Comments
 (0)