diff --git a/.github/workflows/msys2-build.yml b/.github/workflows/msys2-build.yml index 3566b004b..42f369a0d 100644 --- a/.github/workflows/msys2-build.yml +++ b/.github/workflows/msys2-build.yml @@ -51,9 +51,16 @@ jobs: # Install xmake - name: Setup xmake - uses: xmake-io/github-action-setup-xmake@v1 - with: - xmake-version: branch@dev + shell: msys2 {0} + run: | + git clone https://github.com/xmake-io/xmake.git --recurse-submodules -b dev + cd xmake + make build + make install PREFIX=${{ matrix.prefix }} + xmake --version + cd .. + git reset --hard HEAD + git clean -fdx # Update xmake repository (in order to have the file that will be cached) - name: Update xmake repository