Fix: use git clone for dependencies outside workspace
Some checks failed
GBCI / build (push) Waiting to run
GBCI Bundle / build-bundle (push) Failing after 24m19s

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-12-16 17:20:36 -03:00
parent 38406043d6
commit 62e22f1180
2 changed files with 8 additions and 28 deletions

View file

@ -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

View file

@ -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