From d3045661f7aad2f2730b6d7b7f58ca0a090636e4 Mon Sep 17 00:00:00 2001 From: arf20 Date: Thu, 15 Feb 2024 18:23:50 +0100 Subject: [PATCH] CI use checkout v4 --- .github/workflows/cmake.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 8c0ce4d..da778d7 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -11,7 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 - name: Install dependencies run: sudo apt-get update && sudo apt-get install build-essential cmake rsync libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev @@ -62,7 +66,11 @@ jobs: mingw64/mingw-w64-x86_64-SDL2_mixer mingw64/mingw-w64-x86_64-SDL2_ttf - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: true + fetch-depth: 0 - name: Configure CMake run: cmake -G "MinGW Makefiles" -B D:\\a\\ww1game/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}