1414 workflow_dispatch :
1515
1616env :
17- PYTHON_VERSION : 3.14.0
17+ PYTHON_VERSION : 3.14.2
1818 PYTHON_VERSION_SHORT : 3.14
19- PYTHON_DIST_RELEASE : 20251007
19+ PYTHON_DIST_RELEASE : 20251209
2020
2121jobs :
2222 # ======================================
3737 - name : Set up Python
3838 uses : actions/setup-python@v5
3939 with :
40- python-version : ' 3.14 '
40+ python-version : ${{ env.PYTHON_VERSION_SHORT }}
4141
4242 - name : Verify Python version
4343 run : python --version
5151 run : |
5252 cd android
5353 mkdir -p dist
54- tar -czf dist/python-android-mobile-forge-${{ env.PYTHON_VERSION_SHORT }}.tar.gz install support
54+ tar -czf dist/python-android-mobile-forge-${{ env.PYTHON_VERSION }}.tar.gz install support
5555
5656 - name : Package individual ABIs for Flutter
5757 run : |
9090 - name : Set up Python
9191 uses : actions/setup-python@v5
9292 with :
93- python-version : ' 3.14 '
93+ python-version : ${{ env.PYTHON_VERSION_SHORT }}
9494
9595 - name : Verify Python version
9696 run : python --version
@@ -109,7 +109,7 @@ jobs:
109109 - name : Package iOS for mobile-forge
110110 run : |
111111 cd darwin
112- tar -czf dist/python-ios-mobile-forge-${{ env.PYTHON_VERSION_SHORT }}.tar.gz \
112+ tar -czf dist/python-ios-mobile-forge-${{ env.PYTHON_VERSION }}.tar.gz \
113113 -C Python-Apple-support install support
114114
115115 - name : Build Python for macOS
@@ -120,12 +120,12 @@ jobs:
120120 - name : Package for Dart - iOS
121121 run : |
122122 cd darwin
123- ./package-ios-for-dart.sh Python-Apple-support ${{ env.PYTHON_VERSION_SHORT }}
123+ ./package-ios-for-dart.sh Python-Apple-support ${{ env.PYTHON_VERSION }}
124124
125125 - name : Package for Dart - macOS
126126 run : |
127127 cd darwin
128- ./package-macos-for-dart.sh Python-Apple-support ${{ env.PYTHON_VERSION_SHORT }}
128+ ./package-macos-for-dart.sh Python-Apple-support ${{ env.PYTHON_VERSION }}
129129
130130 - name : Upload Darwin artifacts
131131 uses : actions/upload-artifact@v4
@@ -158,7 +158,7 @@ jobs:
158158 - name : Set up Python
159159 uses : actions/setup-python@v5
160160 with :
161- python-version : ' 3.14 '
161+ python-version : ${{ env.PYTHON_VERSION_SHORT }}
162162
163163 - name : Verify Python version
164164 run : python --version
@@ -220,7 +220,7 @@ jobs:
220220 - name : Set up Python
221221 uses : actions/setup-python@v5
222222 with :
223- python-version : ' 3.14 '
223+ python-version : ${{ env.PYTHON_VERSION_SHORT }}
224224
225225 - name : Verify Python version
226226 run : python --version
@@ -237,20 +237,20 @@ jobs:
237237 cd windows
238238 Start-Process -Wait -FilePath "python-${{ env.PYTHON_VERSION }}-amd64.exe" `
239239 -ArgumentList "/quiet", "InstallAllUsers=1", "PrependPath=1", `
240- "Include_test=0", "TargetDir=C:\hostedtoolcache\windows\Python\3.14.0 \x64"
240+ "Include_test=0", "TargetDir=C:\hostedtoolcache\windows\Python\${{ env.PYTHON_VERSION }} \x64"
241241 shell : powershell
242242
243243 - name : Verify installation and compile bytecode
244244 run : |
245- dir C:\hostedtoolcache\windows\Python\3.14.0 \x64
246- C:\hostedtoolcache\windows\Python\3.14.0 \x64\python.exe --version
247- C:\hostedtoolcache\windows\Python\3.14.0 \x64\python.exe -m compileall -b C:\hostedtoolcache\windows\Python\3.14.0 \x64\Lib
245+ dir C:\hostedtoolcache\windows\Python\${{ env.PYTHON_VERSION }} \x64
246+ C:\hostedtoolcache\windows\Python\${{ env.PYTHON_VERSION }} \x64\python.exe --version
247+ C:\hostedtoolcache\windows\Python\${{ env.PYTHON_VERSION }} \x64\python.exe -m compileall -b C:\hostedtoolcache\windows\Python\${{ env.PYTHON_VERSION }} \x64\Lib
248248 shell : cmd
249249
250250 - name : Create archive
251251 run : |
252252 cd windows
253- 7z a -xr@exclude.txt python-windows-for-dart-${{ env.PYTHON_VERSION_SHORT }}.zip C:\hostedtoolcache\windows\Python\3.14.0 \x64\*
253+ 7z a -xr@exclude.txt python-windows-for-dart-${{ env.PYTHON_VERSION }}.zip C:\hostedtoolcache\windows\Python\${{ env.PYTHON_VERSION }} \x64\*
254254 shell : cmd
255255
256256 - name : Upload Windows artifacts
0 commit comments