From 16812eafa334f4b86d37fb2dc7d8a688a161f8ff Mon Sep 17 00:00:00 2001 From: fraguada Date: Mon, 3 Feb 2025 15:09:52 +0100 Subject: [PATCH] update workflows to --recursive for submodules --- .github/workflows/workflow_ci.yml | 8 ++++---- .github/workflows/workflow_release.yml | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/workflow_ci.yml b/.github/workflows/workflow_ci.yml index af966879..154719e4 100644 --- a/.github/workflows/workflow_ci.yml +++ b/.github/workflows/workflow_ci.yml @@ -199,7 +199,7 @@ jobs: - name: safe dir run: git config --system --add safe.directory /__w/rhino3dm/rhino3dm - name: update submodules - run: git submodule update --init + run: git submodule update --init --recursive - name: bootstrap run: python3 script/bootstrap.py -p js - name: setup js module @@ -265,7 +265,7 @@ jobs: - name: checkout uses: actions/checkout@v4.1.1 - name: update submodules - run: git submodule update --init + run: git submodule update --init --recursive - name: build python ${{ matrix.python-version }} ${{ matrix.os }} run: python setup.py bdist_wheel build --debug - name: artifacts @@ -293,7 +293,7 @@ jobs: - name: checkout uses: actions/checkout@v4.1.1 - name: update submodules - run: git submodule update --init + run: git submodule update --init --recursive - name: build python sdist run: python setup.py sdist - name: check sdist @@ -344,7 +344,7 @@ jobs: - name: safe directory run: git config --global --add safe.directory /__w/rhino3dm/rhino3dm - name: update submodules - run: ls && git submodule update --init + run: ls && git submodule update --init --recursive - name: bootstrap run: python3 script/bootstrap.py -p linux - name: setup diff --git a/.github/workflows/workflow_release.yml b/.github/workflows/workflow_release.yml index 699bce6e..d5a97320 100644 --- a/.github/workflows/workflow_release.yml +++ b/.github/workflows/workflow_release.yml @@ -18,7 +18,7 @@ jobs: - name: checkout uses: actions/checkout@v4.1.1 - name: update submodules - run: git submodule update --init + run: git submodule update --init --recursive - name: build python sdist run: python setup.py sdist build --debug - name: check sdist @@ -73,7 +73,7 @@ jobs: - name: safe directory run: git config --global --add safe.directory /__w/rhino3dm/rhino3dm - name: update submodules - run: git submodule update --init + run: git submodule update --init --recursive - name: install dependencies run: /opt/python/${{ matrix.python-version }}/bin/python -m pip install --upgrade pip setuptools wheel - name: build python manylinux @@ -130,7 +130,7 @@ jobs: - name: checkout uses: actions/checkout@v4.1.1 - name: update submodules - run: git submodule update --init + run: git submodule update --init --recursive - name: build python ${{ matrix.python-version }} ${{ matrix.os }} run: python setup.py bdist_wheel - name: code-sign native libraries @@ -206,7 +206,7 @@ jobs: - name: safe directory run: git config --global --add safe.directory /__w/rhino3dm/rhino3dm - name: update submodules - run: ls && git submodule update --init + run: ls && git submodule update --init --recursive - name: bootstrap dotnet ${{ matrix.target }} run: python3 script/bootstrap.py -p ${{ matrix.target }} - name: setup dotnet ${{ matrix.target }} @@ -247,7 +247,7 @@ jobs: - name: safe directory run: git config --global --add safe.directory /__w/rhino3dm/rhino3dm - name: update submodules - run: ls && git submodule update --init + run: ls && git submodule update --init --recursive - name: setup QEMU uses: docker/setup-qemu-action@v3 with: @@ -293,7 +293,7 @@ jobs: - name: checkout uses: actions/checkout@v4.1.1 - name: update submodules - run: ls && git submodule update --init + run: ls && git submodule update --init --recursive - name: bootstrap dotnet run: python script/bootstrap.py -p windows - name: setup dotnet @@ -343,7 +343,7 @@ jobs: - name: safe dir run: git config --system --add safe.directory /__w/rhino3dm/rhino3dm - name: update submodules - run: git submodule update --init + run: git submodule update --init --recursive - name: bootstrap run: python3 script/bootstrap.py -p js - name: setup js module