From eeadb2a4460cc52708e082e298dbc427635d2e47 Mon Sep 17 00:00:00 2001 From: Wenty Li Date: Mon, 27 Nov 2023 23:42:02 +0800 Subject: [PATCH] chore: Test docs release workflow --- .github/actions/setup/action.yaml | 5 ----- .github/workflows/docs.yaml | 5 +++++ .github/workflows/release.yaml | 5 +++++ 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml index 516ca41b..49786bf3 100644 --- a/.github/actions/setup/action.yaml +++ b/.github/actions/setup/action.yaml @@ -4,11 +4,6 @@ description: Prepare the environment runs: using: composite steps: - - name: Checkout code repository - uses: actions/checkout@v3 - with: - fetch-depth: 0 - - name: Setup node.js uses: actions/setup-node@v3 with: diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index dae55183..426c7895 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -11,6 +11,11 @@ jobs: timeout-minutes: 10 runs-on: ubuntu-latest steps: + - name: Checkout code repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: ./.github/actions/setup - name: Build docs diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 74ce80ce..08ce21d3 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,6 +12,11 @@ jobs: timeout-minutes: 10 runs-on: ubuntu-latest steps: + - name: Checkout code repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: ./.github/actions/setup - name: Build packages