Skip to content

Commit 0f92090

Browse files
Fix Python version divergence in build_prod_template.yml
Update build_prod_template.yml to use TOOL_VERSION_PYTHON from .tool-versions instead of hardcoded '3.13', matching the pattern used in build_test_template.yml. This ensures consistency between test and production template builds. Co-authored-by: Mish Ushakov <mishushakov@users.noreply.github.com>
1 parent dd13369 commit 0f92090

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/build_prod_template.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,17 @@ jobs:
2323
steps:
2424
- name: Checkout repository
2525
uses: actions/checkout@v4
26+
27+
- name: Parse .tool-versions
28+
uses: wistia/parse-tool-versions@v2.1.1
29+
with:
30+
filename: '.tool-versions'
31+
uppercase: 'true'
32+
prefix: 'tool_version_'
33+
2634
- uses: actions/setup-python@v6
2735
with:
28-
python-version: '3.13'
36+
python-version: '${{ env.TOOL_VERSION_PYTHON }}'
2937

3038
- name: Install development dependencies
3139
working-directory: ./template

0 commit comments

Comments
 (0)