Skip to content

Commit f9efa67

Browse files
test clone submodule with SSH
1 parent 8f40b1e commit f9efa67

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.github/workflows/buildwheels.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ jobs:
1919
with:
2020
repository: NTIA/p2108
2121
ref: AddPythonWrapper # Todo remove
22+
23+
- name: Clone required submodules
24+
uses: pietrobolcato/action-clone-private-submodule@main
25+
with:
26+
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
27+
module_link: NTIA/p2108-python
28+
module_path: wrap/python
2229

2330
- name: Install CMake # (latest stable version)
2431
uses: lukka/get-cmake@latest

.github/workflows/tox.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ jobs:
4545
ref: AddPythonWrapper # Todo remove
4646

4747
- name: Clone required submodules
48-
run: |
49-
git submodule init wrap/python
50-
git submodule update
48+
uses: pietrobolcato/action-clone-private-submodule@main
49+
with:
50+
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
51+
module_link: NTIA/p2108-python
52+
module_path: wrap/python
5153

5254
- name: Install tox-gh
5355
run: python -m pip install tox-gh

0 commit comments

Comments
 (0)