Skip to content

Commit 21a687f

Browse files
updates with better understanding of submodule issues
1 parent 9fb2d53 commit 21a687f

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

.github/workflows/update-jmxfetch-submodule.yaml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Update Docker Build Image
1+
name: Update jmxfetch integrations submodule
22

33
on:
44
schedule:
@@ -11,29 +11,10 @@ jobs:
1111
steps:
1212
- name: Checkout repository
1313
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
14-
with:
15-
submodules: 'recursive'
16-
fetch-depth: 0
17-
18-
- name: Cache Gradle dependencies
19-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3
20-
with:
21-
path: |
22-
~/.gradle/caches
23-
~/.gradle/wrapper
24-
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
25-
restore-keys: |
26-
${{ runner.os }}-gradle-
2714

2815
- name: Update Submodule
2916
run: |
30-
GRADLE_OPTS="-Dorg.gradle.jvmargs='-Xmx2G -Xms2G'" \
31-
JAVA_HOME=$JAVA_HOME_8_X64 \
32-
JAVA_8_HOME=$JAVA_HOME_8_X64 \
33-
JAVA_11_HOME=$JAVA_HOME_11_X64 \
34-
JAVA_17_HOME=$JAVA_HOME_17_X64 \
35-
JAVA_21_HOME=$JAVA_HOME_21_X64 \
36-
./gradlew :dd-java-agent:agent-jmxfetch:submodulesUpdate
17+
git submodule update --remote -- dd-java-agent/agent-jmxfetch/integrations-core
3718
- name: Download ghcommit CLI
3819
run: |
3920
curl https://github.com/planetscale/ghcommit/releases/download/v0.1.48/ghcommit_linux_amd64 -o /usr/local/bin/ghcommit -L

0 commit comments

Comments
 (0)