Update msys2-build.yml

This commit is contained in:
Jérôme Leclercq 2021-08-23 19:06:45 +02:00
parent 008acf0422
commit 70ee4cbd88
1 changed files with 10 additions and 3 deletions

View File

@ -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