Skip to content

Commit

Permalink
Set python version in Nova MacOS jobs (#4762)
Browse files Browse the repository at this point in the history
This will allow repo to use different python version than 3.9 when using
MacOS job.
  • Loading branch information
huydhn authored Nov 27, 2023
1 parent 299b936 commit 8918211
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/macos_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ on:
description: "List of secrets to be exported to environment variables"
type: string
default: ''
python-version:
description: Set the python version used in the job
required: false
type: string
default: "3.9"

jobs:
job:
Expand Down Expand Up @@ -93,6 +98,8 @@ jobs:

- name: Setup miniconda
uses: ./test-infra/.github/actions/setup-miniconda
with:
python-version: ${{ inputs.python-version }}

- name: Checkout repository (${{ inputs.repository || github.repository }}@${{ inputs.ref }})
uses: actions/checkout@v3
Expand Down

0 comments on commit 8918211

Please sign in to comment.