Skip to content

Commit 0d2f926

Browse files
saitcakmakfacebook-github-bot
authored andcommitted
Fix Python version in workflows (#2296)
Summary: When 3.10 is not enclosed in quotes, the workflow fails after trying to install python 3.1. See: https://github.com/pytorch/botorch/actions/runs/8660750040/job/23749260305?fbclid=IwAR3w-htfo2N4O3FIvn59LTL-ha_kdzn06bEL5xVJYxY1iMty7XOrzydSlzQ Pull Request resolved: #2296 Test Plan: Nightly cron: https://github.com/pytorch/botorch/actions/runs/8665243516 Reviewed By: esantorella Differential Revision: D56068106 Pulled By: saitcakmak fbshipit-source-id: 5db206be9a36d5f3d3c25479c6c5cd3f8511e3a1
1 parent 59ec39e commit 0d2f926

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Set up Python
5151
uses: actions/setup-python@v5
5252
with:
53-
python-version: 3.10
53+
python-version: "3.10"
5454
- name: Install dependencies
5555
env:
5656
ALLOW_LATEST_GPYTORCH_LINOP: true

.github/workflows/reusable_website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Set up Python
3030
uses: actions/setup-python@v5
3131
with:
32-
python-version: 3.10
32+
python-version: "3.10"
3333
- name: Fetch all history for all tags and branches
3434
run: git fetch --prune --unshallow
3535
- if: ${{ !inputs.publish_versioned_website }}

0 commit comments

Comments
 (0)