From 3ce78f83e49164ea3b5e2c96dba662af4705e91d Mon Sep 17 00:00:00 2001 From: rami3l Date: Tue, 21 Jan 2025 23:46:42 +0800 Subject: [PATCH] ci(doc): pin `mdbook` to `0.4.43` --- .github/workflows/ci.yaml | 4 +++- ci/actions-templates/test-docs-template.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 58b0109d79..eec8215cca 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1526,8 +1526,10 @@ jobs: fetch-depth: 0 - name: Install mdbook uses: taiki-e/install-action@v2 + env: + MDBOOK_VERSION: "0.4.43" with: - tool: mdbook + tool: mdbook@${{ env.MDBOOK_VERSION }} - name: Build user-guide (stable) if: ${{ !contains('["pull_request", "merge_group"]', github.event_name) }} run: | diff --git a/ci/actions-templates/test-docs-template.yaml b/ci/actions-templates/test-docs-template.yaml index 49e71a5fd2..cb60e2276c 100644 --- a/ci/actions-templates/test-docs-template.yaml +++ b/ci/actions-templates/test-docs-template.yaml @@ -13,8 +13,10 @@ jobs: # skip-all fetch-depth: 0 - name: Install mdbook uses: taiki-e/install-action@v2 + env: + MDBOOK_VERSION: "0.4.43" with: - tool: mdbook + tool: mdbook@${{ env.MDBOOK_VERSION }} - name: Build user-guide (stable) if: ${{ !contains('["pull_request", "merge_group"]', github.event_name) }} run: |