File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 3636 - name : Setup Python
3737 uses : actions/setup-python@v5
3838 with :
39- python-version : " 3.13 "
39+ python-version : " 3.11 "
4040 - name : GCP authentication
4141 uses : " google-github-actions/auth@v2"
4242 with :
6565 - name : Setup Python
6666 uses : actions/setup-python@v5
6767 with :
68- python-version : " 3.13 "
68+ python-version : " 3.11 "
6969 - name : Build changelog
7070 run : pip install yaml-changelog && make changelog
7171 - name : Preview changelog update
8080 deploy :
8181 name : Deploy API
8282 runs-on : ubuntu-latest
83+ needs : ensure-model-version-aligns-with-sim-api
8384 if : |
8485 (github.repository == 'PolicyEngine/policyengine-api')
8586 && (github.event.head_commit.message == 'Update PolicyEngine API')
8990 - name : Setup Python
9091 uses : actions/setup-python@v5
9192 with :
92- python-version : " 3.13 "
93+ python-version : " 3.11 "
9394 - name : Publish Git Tag
9495 run : " .github/publish-git-tag.sh"
9596 - name : GCP authentication
@@ -110,6 +111,7 @@ jobs:
110111 docker :
111112 name : Docker
112113 runs-on : ubuntu-latest
114+ needs : ensure-model-version-aligns-with-sim-api
113115 steps :
114116 - name : Checkout repo
115117 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 1+ - bump : patch
2+ changes :
3+ changed :
4+ - Downgraded push action Python versions to 3.11 to fix faiss-cpu install error.
5+ - Ensured deploy occurs after checking that API can run with updated model version.
You can’t perform that action at this time.
0 commit comments