From 2369c7cd02fc22d4a882cb111458711c5a0392ae Mon Sep 17 00:00:00 2001 From: Vicente Vazquez Date: Mon, 18 Nov 2024 22:26:34 +0100 Subject: [PATCH] Fix compilation issue for old python versions --- .github/workflows/publish.yml | 4 ++-- .github/workflows/test.yml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ccb458e..a16de0b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,8 +9,8 @@ permissions: jobs: deploy: - - runs-on: ubuntu-latest + #Fix version needed to use python 2.7 and 3.6 https://github.com/actions/setup-python/issues/544 + runs-on: ubuntu-20.04 strategy: matrix: python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4a21ecc..3c733f0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,8 @@ on: jobs: test: - runs-on: ubuntu-latest + #Fix version needed to use python 2.7 and 3.6 https://github.com/actions/setup-python/issues/544 + runs-on: ubuntu-20.04 strategy: matrix: python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]