diff --git a/.github/actions/prepare-msys/action.yml b/.github/actions/prepare-msys/action.yml index c9b383c..8126540 100644 --- a/.github/actions/prepare-msys/action.yml +++ b/.github/actions/prepare-msys/action.yml @@ -6,7 +6,7 @@ runs: - name: Setup msys2 uses: msys2/setup-msys2@v2 with: - path-type: strict # Important to correctly update PATH + path-type: inherit # Important to correctly update PATH install: >- base-devel git @@ -23,4 +23,4 @@ runs: - name: Prepare env shell: 'msys2 {0}' run: | - echo "export PATH=/c/Users/runneradmin/.cargo/bin:/mingw64/bin:/usr/bin:/usr/local/bin:/c/Windows/System32" >> ${HOME}/.bash_profile + echo "export PATH=/c/Users/runneradmin/.cargo/bin:/mingw64/bin:${PATH}" >> ${HOME}/.bash_profile