From ac8d763568a5c7bcad507c642d9d0d7cbdba915c Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Mon, 30 Dec 2024 11:20:32 +0100 Subject: [PATCH] update action version, cmake action --- .../download-extract-precompiled-libraries-tgz/action.yml | 2 +- .github/workflows/doxygen.yml | 6 +++--- .github/workflows/install-cmake-328/action.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/download-extract-precompiled-libraries-tgz/action.yml b/.github/workflows/download-extract-precompiled-libraries-tgz/action.yml index b8ee7f1358..956344b50a 100644 --- a/.github/workflows/download-extract-precompiled-libraries-tgz/action.yml +++ b/.github/workflows/download-extract-precompiled-libraries-tgz/action.yml @@ -20,7 +20,7 @@ runs: - name: Download & extract OR-Tools shell: bash run: | - mkdir ${{inputs.ortools-dir}} + mkdir -p ${{inputs.ortools-dir}} cd ${{inputs.ortools-dir}} wget ${{inputs.ortools-url}} -O ortools.zip unzip ortools.zip diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index ab0f401390..aabb4edd57 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -13,7 +13,7 @@ jobs: concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod @@ -26,12 +26,12 @@ jobs: git apply ../docs/antares-simulator-doxygen.patch - name: Doxygen - uses: mattnotmitt/doxygen-action@1.9.5 + uses: mattnotmitt/doxygen-action@v1.9.8 with: doxyfile-path: docs/Doxyfile - name: Deploy - uses: peaceiris/actions-gh-pages@v3 + uses: peaceiris/actions-gh-pages@v4 # If you're changing the branch from main, # also change the `main` in `refs/heads/main` # below accordingly. diff --git a/.github/workflows/install-cmake-328/action.yml b/.github/workflows/install-cmake-328/action.yml index 9c2beb7876..1cf045dbee 100644 --- a/.github/workflows/install-cmake-328/action.yml +++ b/.github/workflows/install-cmake-328/action.yml @@ -1,4 +1,4 @@ -name: "Install cmake 3.28 using devtoolset 10" +name: "Install cmake 3.28 using devtoolset 10 if possible" description: "Download and install system wide cmake 3.28" runs: @@ -7,7 +7,7 @@ runs: - name: Build cmake shell: bash run: | - source /opt/rh/devtoolset-11/enable + source /opt/rh/devtoolset-10/enable || true # Ignore error if devtoolset-10 is not available yum -y install openssl-devel wget https://github.com/Kitware/CMake/releases/download/v3.28.2/cmake-3.28.2.tar.gz tar -xvf cmake-3.28.2.tar.gz