Fix: use git clone for dependencies outside workspace
This commit is contained in:
parent
38406043d6
commit
62e22f1180
2 changed files with 8 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue