Skip to content

Commit e89ecbe

Browse files
committed
fix: disable checkout submodule handling, use manual git submodule update
1 parent 4c0d417 commit e89ecbe

3 files changed

Lines changed: 33 additions & 5 deletions

File tree

.github/workflows/build-matrix.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,16 @@ jobs:
1111
outputs:
1212
matrix: ${{ steps.set-matrix.outputs.matrix }}
1313
steps:
14+
- uses: webfactory/ssh-agent@v0.9.0
15+
with:
16+
ssh-private-key: ${{ secrets.RUSEFI_CORE_DEPLOY_KEY }}
17+
1418
- uses: actions/checkout@v6
1519
with:
16-
submodules: true
20+
submodules: false
21+
22+
- name: Checkout submodules
23+
run: git submodule update --init --force --depth=1
1724

1825
- name: Set matrix
1926
id: set-matrix
@@ -39,9 +46,16 @@ jobs:
3946
matrix: ${{fromJson(needs.generate-matrix.outputs.matrix)}}
4047

4148
steps:
49+
- uses: webfactory/ssh-agent@v0.9.0
50+
with:
51+
ssh-private-key: ${{ secrets.RUSEFI_CORE_DEPLOY_KEY }}
52+
4253
- uses: actions/checkout@v6
4354
with:
44-
submodules: true
55+
submodules: false
56+
57+
- name: Checkout submodules
58+
run: git submodule update --init --force --depth=1
4559

4660
- name: Set run variables
4761
id: set-variables

.github/workflows/nightly-release.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,16 @@ jobs:
1616
matrix: ${{ steps.set-matrix.outputs.matrix }}
1717
tag: ${{ steps.set-tag.outputs.tag }}
1818
steps:
19+
- uses: webfactory/ssh-agent@v0.9.0
20+
with:
21+
ssh-private-key: ${{ secrets.RUSEFI_CORE_DEPLOY_KEY }}
22+
1923
- uses: actions/checkout@v4
2024
with:
21-
submodules: true
25+
submodules: false
26+
27+
- name: Checkout submodules
28+
run: git submodule update --init --force --depth=1
2229

2330
- name: Set matrix
2431
id: set-matrix
@@ -46,9 +53,16 @@ jobs:
4653
matrix: ${{ fromJson(needs.generate-matrix.outputs.matrix) }}
4754

4855
steps:
56+
- uses: webfactory/ssh-agent@v0.9.0
57+
with:
58+
ssh-private-key: ${{ secrets.RUSEFI_CORE_DEPLOY_KEY }}
59+
4960
- uses: actions/checkout@v4
5061
with:
51-
submodules: true
62+
submodules: false
63+
64+
- name: Checkout submodules
65+
run: git submodule update --init --force --depth=1
5266

5367
- uses: ./ext/rusefi/.github/workflows/custom-board-build
5468
with:

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[submodule "ext/rusefi"]
22
path = ext/rusefi
3-
url = https://github.com/mazduino/rusefi-core.git
3+
url = git@github.com:mazduino/rusefi-core.git

0 commit comments

Comments
 (0)