Skip to content

Commit a493ae7

Browse files
committed
CI: use python3 for plist writing
1 parent fd698ea commit a493ae7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.ci/templates/windows-sdk.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,12 @@ jobs:
356356
inputs:
357357
cmakeArgs: --build $(Build.BinariesDirectory)/libdispatch --target install
358358

359+
- task: UsePythonVersion@0
360+
inputs:
361+
versionSpec: 3.7.x
362+
name: python3
363+
continueOnError: true
364+
359365
- task: PythonScript@0
360366
inputs:
361367
scriptSource: inline
@@ -373,6 +379,12 @@ jobs:
373379
# runtime.
374380
plistlib.dump({ 'DefaultProperties': { 'DEFAULT_USE_RUNTIME': 'MD' } }, plist)
375381
382+
- task: UsePythonVersion@0
383+
inputs:
384+
versionSpec: ${{ parameters.PythonVersion }}
385+
name: python
386+
continueOnError: true
387+
376388
- ${{ if eq(parameters.TENSORFLOW, true) }}:
377389
- task: CMake@1
378390
displayName: Configure PythonKit

0 commit comments

Comments
 (0)