diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index d0258d925..38048b151 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -13,6 +13,7 @@ on: env: ALIRE_OS: windows + MSYS64_ROOT: C:\Users\runneradmin\AppData\Local\alire\cache\msys64 MINGW64_PATH: C:\Users\runneradmin\AppData\Local\alire\cache\msys64\mingw64\bin MSYS2_PATH: C:\Users\runneradmin\AppData\Local\alire\cache\msys64\usr\bin PACMAN: C:\Users\runneradmin\AppData\Local\alire\cache\msys64\usr\bin\pacman --noconfirm @@ -38,6 +39,9 @@ jobs: - name: Build alr run: gprbuild -j0 -p -P alr_env + - name: Remove previous alr's msys2 (so a new one can be tested) + run: rmdir /s /q ${{env.MSYS64_ROOT}} + - name: Display built alr and trigger install of msys2 run: ./bin/alr version