From 642c08b1390ba227a88373cbfa21c5802f0fd75d Mon Sep 17 00:00:00 2001 From: Huy Do Date: Fri, 24 Nov 2023 19:47:15 -0800 Subject: [PATCH] Set python version in Nova MacOS jobs --- .github/workflows/macos_job.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/macos_job.yml b/.github/workflows/macos_job.yml index cd9a2a7574..dff55b7651 100644 --- a/.github/workflows/macos_job.yml +++ b/.github/workflows/macos_job.yml @@ -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: @@ -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