From 812293b754beb0b30a994dcc11e1993402e648ac Mon Sep 17 00:00:00 2001 From: wano <55907021+wanlce@users.noreply.github.com> Date: Sat, 12 Aug 2023 03:02:44 +0800 Subject: [PATCH] ci(pick): fix build error when daed is not main (#231) --- .github/workflows/pick-build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pick-build.yml b/.github/workflows/pick-build.yml index 0a6805eb..8d5e7b69 100644 --- a/.github/workflows/pick-build.yml +++ b/.github/workflows/pick-build.yml @@ -153,7 +153,9 @@ jobs: - name: Pick wing and dae-core run: | - echo "y" | ./hack/checkout.sh core ${{ github.event.inputs.dae-core }} wing ${{ github.event.inputs.wing }} + git submodule update --init --recursive + cd wing && git reset --hard ${{ github.event.inputs.wing }} && go mod download -modcacherw + cd dae-core && git reset --hard ${{ github.event.inputs.dae-core }} && cd ../.. - name: Get the version id: get_version