From c417db0cfff6cfb594741390fc30e471d30fbaa3 Mon Sep 17 00:00:00 2001 From: jinqiang zhang Date: Tue, 15 Oct 2024 12:07:14 +0000 Subject: [PATCH] fix go mod vendor path --- .github/workflows/generator.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/generator.yml b/.github/workflows/generator.yml index dd74c50..24a83aa 100644 --- a/.github/workflows/generator.yml +++ b/.github/workflows/generator.yml @@ -77,8 +77,8 @@ jobs: tar --create --auto-compress --file /tmp/${P}-deps.tar.xz go-mod if [ ! -f go.work ]; then rm -rf go-mod - go mod vendor - tar --create --auto-compress --file /tmp/${P}-vendor.tar.xz vendor + go mod vendor -modcacherw -o ${P}/vendor + tar --create --auto-compress --file /tmp/${P}-vendor.tar.xz ${P}/vendor fi - name: Generate javascript node_modules