From 62e22f1180a3a41bbe30f89a6a235c71e0720737 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 16 Dec 2025 17:20:36 -0300 Subject: [PATCH] Fix: use git clone for dependencies outside workspace --- .forgejo/workflows/botserver-bundle.yaml | 29 +++++------------------- .forgejo/workflows/botserver.yaml | 7 ++---- 2 files changed, 8 insertions(+), 28 deletions(-) diff --git a/.forgejo/workflows/botserver-bundle.yaml b/.forgejo/workflows/botserver-bundle.yaml index 72a678d8..f8b0d5dd 100644 --- a/.forgejo/workflows/botserver-bundle.yaml +++ b/.forgejo/workflows/botserver-bundle.yaml @@ -18,29 +18,12 @@ jobs: - uses: actions/checkout@v4 - - name: Checkout botlib dependency - uses: actions/checkout@v4 - with: - repository: GeneralBots/botlib - path: ../botlib - - - name: Checkout botui dependency - uses: actions/checkout@v4 - with: - repository: GeneralBots/botui - path: ../botui - - - name: Checkout botbook dependency - uses: actions/checkout@v4 - with: - repository: GeneralBots/botbook - path: ../botbook - - - name: Checkout botmodels dependency - uses: actions/checkout@v4 - with: - repository: GeneralBots/botmodels - path: ../botmodels + - name: Clone dependencies + run: | + git clone --depth 1 https://github.com/GeneralBots/botlib.git ../botlib + git clone --depth 1 https://github.com/GeneralBots/botui.git ../botui + git clone --depth 1 https://github.com/GeneralBots/botbook.git ../botbook + git clone --depth 1 https://github.com/GeneralBots/botmodels.git ../botmodels - name: Cache Cargo registry uses: actions/cache@v4 diff --git a/.forgejo/workflows/botserver.yaml b/.forgejo/workflows/botserver.yaml index f0ce4386..9100cc8d 100644 --- a/.forgejo/workflows/botserver.yaml +++ b/.forgejo/workflows/botserver.yaml @@ -16,11 +16,8 @@ jobs: - uses: actions/checkout@v4 - - name: Checkout botlib dependency - uses: actions/checkout@v4 - with: - repository: GeneralBots/botlib - path: ../botlib + - name: Clone botlib dependency + run: git clone --depth 1 https://github.com/GeneralBots/botlib.git ../botlib - name: Cache Cargo registry uses: actions/cache@v4