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%' 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