From 993f4e7c784d88a21749a419746b29f2e0aafa68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Tue, 19 Apr 2022 14:47:26 +0200 Subject: [PATCH] Update msys2-build.yml --- .github/workflows/msys2-build.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/msys2-build.yml b/.github/workflows/msys2-build.yml index 70e556145..9784d26a7 100644 --- a/.github/workflows/msys2-build.yml +++ b/.github/workflows/msys2-build.yml @@ -43,7 +43,9 @@ jobs: update: true - name: Set mingw64 binaries in path - run: echo "${MINGW_PREFIX}/bin" >> $GITHUB_PATH + run: | + echo "${MINGW_PREFIX}/bin" + echo "D:/msys64/mingw64/bin" >> $GITHUB_PATH # Force xmake to a specific folder (for cache) - name: Set xmake env @@ -51,13 +53,9 @@ jobs: # Install xmake - name: Setup xmake - run: | - git clone https://github.com/xmake-io/xmake.git --recurse-submodules -b dev xmake_git - cd xmake_git - make build - make install PREFIX=/${{ matrix.msystem }} - xmake --version - cd .. + uses: xmake-io/github-action-setup-xmake@v1 + with: + xmake-version: branch@dev # Update xmake repository (in order to have the file that will be cached) - name: Update xmake repository