• Scientific Computing | SciVision

  • Blog
  • Tags
  • Categories

GitHub Actions MSYS2 Windows path

21 October, 2021

The MSYS2 GitHub Action v2.5.0 updated the path to MSYS, affecting workflows using MSYS2.

The new path is used like:

- name: Put MSYS2_MinGW64 on PATH
  # there is not yet an environment variable for this path from msys2/setup-msys2
  run: echo "${{ runner.temp }}/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

The old path was “${{ runner.temp }}/msys/msys64/mingw64/bin”.

  • continuous-integration
  • MSYS2
  • GitHub Actions