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
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout botlib dependency
|
- name: Clone dependencies
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
with:
|
git clone --depth 1 https://github.com/GeneralBots/botlib.git ../botlib
|
||||||
repository: GeneralBots/botlib
|
git clone --depth 1 https://github.com/GeneralBots/botui.git ../botui
|
||||||
path: ../botlib
|
git clone --depth 1 https://github.com/GeneralBots/botbook.git ../botbook
|
||||||
|
git clone --depth 1 https://github.com/GeneralBots/botmodels.git ../botmodels
|
||||||
- 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: Cache Cargo registry
|
- name: Cache Cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
|
||||||
|
|
@ -16,11 +16,8 @@ jobs:
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Checkout botlib dependency
|
- name: Clone botlib dependency
|
||||||
uses: actions/checkout@v4
|
run: git clone --depth 1 https://github.com/GeneralBots/botlib.git ../botlib
|
||||||
with:
|
|
||||||
repository: GeneralBots/botlib
|
|
||||||
path: ../botlib
|
|
||||||
|
|
||||||
- name: Cache Cargo registry
|
- name: Cache Cargo registry
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue