From 8cad78190af6a40986cdb6d14469b47f4e820c99 Mon Sep 17 00:00:00 2001 From: SMoraisAnsys <146729917+SMoraisAnsys@users.noreply.github.com> Date: Thu, 29 Feb 2024 21:28:30 +0100 Subject: [PATCH] WIP: Try using pyansys action --- .github/workflows/ci_cd.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index ac36c6998..45dceccac 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -13,8 +13,6 @@ on: env: MAIN_PYTHON_VERSION: '3.10' - # TODO: For some reasons, 3.10 and 3.11 are not working. We should be aligned with the main python version. - MAIN_PYTHON_VERSION_WINDOWS: '3.9' PACKAGE_NAME: 'pyaedt-examples' concurrency: @@ -85,9 +83,10 @@ jobs: - uses: actions/checkout@v4 - name: Set up Python ${{ env.MAIN_PYTHON_VERSION_WINDOWS }} - uses: actions/setup-python@v5 + uses: ansys/actions/_setup-python@v5 with: - python-version: ${{ env.MAIN_PYTHON_VERSION_WINDOWS }} + python-version: ${{ env.MAIN_PYTHON_VERSION }} + use-cache: false - name: Create virtual environment run: |