From 44e4ffb9e38e5a5e216fa32460ebb88158da8da8 Mon Sep 17 00:00:00 2001 From: Alban Fichet Date: Wed, 14 Jun 2023 15:08:15 +0200 Subject: [PATCH] Change deprecated action versions --- .github/workflows/cmake.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 5416e6e..10015e4 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -19,16 +19,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - run: | - git submodule init - git submodule update - + - name: Checkout repository + uses: actions/checkout@v3 + with: + submodules: 'true' + - name: Install Qt - # You may pin to the exact commit or the version. - # uses: jurplel/install-qt-action@a10f4d43af43348aab618414b68a9d32cb008977 - uses: jurplel/install-qt-action@v2.13.2 - + uses: jurplel/install-qt-action@v3 + - name: Install Imath # Now this is quite dirty... run: | @@ -38,7 +36,7 @@ jobs: cd build cmake .. sudo make install - + - name: Install OpenEXR # Now this is quite dirty... run: | @@ -48,7 +46,7 @@ jobs: cd build cmake .. sudo make install - + - name: Configure CMake # Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type @@ -58,4 +56,4 @@ jobs: # Build your program with the given configuration run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - +