This is an automated email from the ASF dual-hosted git repository. hsluoyz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/casbin-cpp.git
commit bb72c92f3fbb38b7db5ecc3eb832fe6ca15f8873 Author: Yang Luo <[email protected]> AuthorDate: Wed Oct 7 10:37:57 2026 +0800 fix: install CMake with pip instead of a non-approved action in CI --- .github/workflows/benchmark.yml | 8 +++++--- .github/workflows/ci.yml | 24 +++++++++++++++--------- .github/workflows/memcheck.yml | 8 +++++--- 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 367b35d..573c419 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -28,10 +28,12 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 - - name: Setup CMake - uses: jwlawson/actions-setup-cmake@v2 + - name: Setup Python + uses: actions/setup-python@v5 with: - cmake-version: '3.25.x' + python-version: '3.x' + - name: Setup CMake + run: pip install "cmake==3.25.*" - name: Configuring CMake files id: building-files run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index afda296..35370c3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,12 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 - - name: Setup CMake - uses: jwlawson/actions-setup-cmake@v2 + - name: Setup Python + uses: actions/setup-python@v5 with: - cmake-version: '3.25.x' + python-version: '3.x' + - name: Setup CMake + run: pip install "cmake==3.25.*" - name: Configuring CMake files id: building-files run: | @@ -57,10 +59,12 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 - - name: Setup CMake - uses: jwlawson/actions-setup-cmake@v2 + - name: Setup Python + uses: actions/setup-python@v5 with: - cmake-version: '3.25.x' + python-version: '3.x' + - name: Setup CMake + run: pip install "cmake==3.25.*" - name: Set up MSVC environment uses: ilammy/msvc-dev-cmd@v1 - name: Configuring CMake files @@ -87,10 +91,12 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 - - name: Setup CMake - uses: jwlawson/actions-setup-cmake@v2 + - name: Setup Python + uses: actions/setup-python@v5 with: - cmake-version: '3.25.x' + python-version: '3.x' + - name: Setup CMake + run: pip install "cmake==3.25.*" - name: Configuring CMake files id: building-files run: | diff --git a/.github/workflows/memcheck.yml b/.github/workflows/memcheck.yml index 08dc207..1c9edc0 100644 --- a/.github/workflows/memcheck.yml +++ b/.github/workflows/memcheck.yml @@ -28,10 +28,12 @@ jobs: - name: Checkout id: checkout uses: actions/checkout@v4 - - name: Setup CMake - uses: jwlawson/actions-setup-cmake@v2 + - name: Setup Python + uses: actions/setup-python@v5 with: - cmake-version: '3.25.x' + python-version: '3.x' + - name: Setup CMake + run: pip install "cmake==3.25.*" - name: Install requirement id: install-requirements run: | --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
