Skip to content

Commit c1c381b

Browse files
authored
[ISSUE #4836] Fix Git submodules checkout failure in CI Build C task (#4743)
* checkout submodules * remove possible redundant "check out git submodule" * minor naming unification (inrelevant with PR subject) * Not triggering C task for now * Use the same version of actions/checkout as 'Build' task for 'License Check' task * Revert change to avoid conflict * Update a renamed label
1 parent 63d1518 commit c1c381b

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Diff for: .github/workflows/ci.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ jobs:
3939
steps:
4040
- name: Checkout repository
4141
uses: actions/checkout@v4
42+
with:
43+
submodules: true
4244

43-
- if: matrix.language == 'cpp' || matrix.language == 'csharp'
44-
name: Build C
45-
run: |
46-
git submodule init
47-
git submodule update
48-
make -C ./eventmesh-sdks/eventmesh-sdk-c
45+
- name: Build C SDK
46+
if: matrix.language == 'cpp'
47+
run: make -C ./eventmesh-sdks/eventmesh-sdk-c
4948

5049
- name: Setup Gradle
5150
uses: gradle/actions/setup-gradle@v4

Diff for: .github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
It has been 60 days since the last activity on this pull request. I am reaching out here to gently remind you that the Apache EventMesh community values every pull request, and please feel free to get in touch with the reviewers at any time. They are available to assist you in advancing the progress of your pull request and offering the latest feedback.
4343
4444
If you encounter any challenges during development, seeking support within the community is encouraged. We sincerely appreciate your contributions to Apache EventMesh.
45-
exempt-issue-labels: 'pinned,discussion,help wanted,WIP,weopen-star,GLCC,summer of code'
45+
exempt-issue-labels: 'pinned,discussion,help wanted,WIP,weopen-star,GLCC,GSoC'
4646
exempt-pr-labels: 'help wanted,dependencies'
4747
exempt-all-milestones: true # Exempt all issues/PRs with milestones from stale
4848
operations-per-run: 300

0 commit comments

Comments
 (0)