Skip to content

Commit

Permalink
CI: Set main python version for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys authored Feb 29, 2024
1 parent 437c1f8 commit f3eb6f1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:

env:
MAIN_PYTHON_VERSION: '3.10'
# Some versions are not available in windows, so we need to specify which one to use on windows self-hosted runners
# see (https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json)
MAIN_PYTHON_VERSION_WINDOWS: '3.10.11'
PACKAGE_NAME: 'pyaedt-examples'

concurrency:
Expand Down Expand Up @@ -82,10 +85,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python ${{ env.MAIN_PYTHON_VERSION }}
- name: Set up Python ${{ env.MAIN_PYTHON_VERSION_WINDOWS }}
uses: actions/setup-python@v5
with:
python-version: ${{ env.MAIN_PYTHON_VERSION }}
python-version: ${{ env.MAIN_PYTHON_VERSION_WINDOWS }}

- name: Create virtual environment
run: |
Expand Down

0 comments on commit f3eb6f1

Please sign in to comment.