From 4ee30d74a30476d4aacf66de63593d0b98c43bdc Mon Sep 17 00:00:00 2001 From: Serein <2075337935@qq.com> Date: Mon, 29 Jul 2024 22:51:59 +0800 Subject: [PATCH] ci: fix deprecated ninja setup --- .github/workflows/codeql.yml | 4 ++-- .github/workflows/cpp-linter.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 43168ca6..3101fd2c 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -73,9 +73,9 @@ jobs: echo "${{ github.workspace }}/vcpkg" >> $GITHUB_PATH - name: Setup Ninja - uses: seanmiddleditch/gha-setup-ninja@v3 + uses: imesense/gha-setup-ninja@v0.2 with: - version: "1.11.1" + version: '1.12.1' - name: Export GitHub Actions cache environment variables uses: actions/github-script@v7 diff --git a/.github/workflows/cpp-linter.yml b/.github/workflows/cpp-linter.yml index 41a9a8dc..6fa86edf 100644 --- a/.github/workflows/cpp-linter.yml +++ b/.github/workflows/cpp-linter.yml @@ -39,9 +39,9 @@ jobs: echo "${{ github.workspace }}/vcpkg" >> $GITHUB_PATH - name: Setup Ninja - uses: seanmiddleditch/gha-setup-ninja@v3 + uses: imesense/gha-setup-ninja@v0.2 with: - version: "1.11.1" + version: '1.12.1' - name: Export GitHub Actions cache environment variables uses: actions/github-script@v7