From 9d5f5bcf9148220bd0909be07e7cd7e2f4d3d580 Mon Sep 17 00:00:00 2001 From: Paul Baksic Date: Tue, 27 Oct 2026 14:51:53 +0100 Subject: [PATCH 1/2] Fix OS version on which test action --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bc01582..1c14a3c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-22.04, macos-14, windows-2022] + os: [ubuntu-24.04, macos-15, windows-latest] sofa_branch: [master, v24.12] steps: @@ -46,7 +46,7 @@ jobs: echo "----------------------------" cat '${{ runner.temp }}'/_runner_file_commands/add_path* echo "----------------------------" - + if [[ "$RUNNER_OS" == "Windows" ]]; then echo "----------------------------" cmd //c 'echo EIGEN3_ROOT=%EIGEN3_ROOT%' From 851b164a3d6669c418133f5eb9d9140bf6d41e90 Mon Sep 17 00:00:00 2001 From: Paul Baksic Date: Tue, 27 Oct 2026 14:52:08 +0100 Subject: [PATCH 2/2] Use more portable substitution --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 9094697..05765d5 100644 --- a/action.yml +++ b/action.yml @@ -421,7 +421,7 @@ runs: echo "sofa_version=${{ steps.get_sofa_from_github.outputs.tag_name }}" >> $GITHUB_OUTPUT else - ARTIFACT_OS=${RUNNER_OS,,} + ARTIFACT_OS=$(echo "$RUNNER_OS" | tr '[:upper:]' '[:lower:]') if [[ "$ARTIFACT_OS" == "linux" ]]; then ARTIFACT_OS=ubuntu fi