File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -13,12 +13,17 @@ jobs:
13
13
API_KEY : ci-test-key
14
14
15
15
steps :
16
- # Optional: cache wheels to speed up numpy / scipy installs
17
16
- uses : actions/checkout@v4
18
17
18
+ - name : Read Python version from .python-version
19
+ id : python-version
20
+ run : |
21
+ PY_VERSION=$(cat .python-version)
22
+ echo "version=$PY_VERSION" >> $GITHUB_OUTPUT
23
+
19
24
- uses : actions/setup-python@v5
20
25
with :
21
- python-version : " 3.11 "
26
+ python-version : ${{ steps.python-version.outputs.version }}
22
27
23
28
- uses : actions/cache@v4
24
29
with :
64
69
echo "APP_NAME=$APP_NAME"
65
70
echo "APP_NAME=$APP_NAME" >> $GITHUB_ENV
66
71
72
+ - name : Read Python version from .python-version
73
+ id : python-version
74
+ run : |
75
+ PY_VERSION=$(cat .python-version)
76
+ echo "version=$PY_VERSION" >> $GITHUB_OUTPUT
77
+
67
78
- uses : actions/setup-python@v5
68
79
with :
69
- python-version : " 3.12 " # this should align with this repo's .python-version file
80
+ python-version : ${{ steps .python-version.outputs.version }}
70
81
71
82
- name : Install Heroku CLI
72
83
run : |
You can’t perform that action at this time.
0 commit comments