From a7a82229afb0a9251d3daf2d651fbeafdc067eac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ruilong=20Li=28=E6=9D=8E=E7=91=9E=E9=BE=99=29?= Date: Fri, 13 Oct 2023 10:39:31 -0700 Subject: [PATCH] add submodules in workflow (#40) Co-authored-by: Ruilong Li <397653553@qq.com> --- .github/workflows/building.yml | 2 ++ .github/workflows/core_tests.yml | 3 +++ .github/workflows/doc.yml | 3 +++ .github/workflows/publish.yml | 3 +++ 4 files changed, 11 insertions(+) diff --git a/.github/workflows/building.yml b/.github/workflows/building.yml index 4ec00b5af..58ee3059f 100644 --- a/.github/workflows/building.yml +++ b/.github/workflows/building.yml @@ -70,6 +70,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: 'recursive' - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 diff --git a/.github/workflows/core_tests.yml b/.github/workflows/core_tests.yml index e0229e0c2..406803664 100644 --- a/.github/workflows/core_tests.yml +++ b/.github/workflows/core_tests.yml @@ -15,6 +15,9 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: 'recursive' + - name: Set up Python 3.8.12 uses: actions/setup-python@v4 with: diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 1563eec28..12be23f20 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -13,6 +13,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + submodules: 'recursive' + - uses: actions/setup-python@v3 with: python-version: '3.9' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f8070aed6..a163fbed1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,6 +15,9 @@ jobs: steps: - uses: actions/checkout@v3 + with: + submodules: 'recursive' + - name: Set up Python uses: actions/setup-python@v4 with: