Skip to content

Commit c308b4d

Browse files
committed
diff entire branch instead of just changed modules
1 parent 213c320 commit c308b4d

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

.github/workflows/diff-javadoc.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,8 @@ jobs:
2424
distribution: temurin
2525
cache: gradle
2626

27-
- name: Changed Modules
28-
id: changed-modules
29-
run: |
30-
git diff --name-only HEAD~1 | xargs printf -- '--changed-git-paths %s\n' | xargs ./gradlew writeChangedProjects --output-file-path=modules.json --only-firebase-sdks
31-
echo "run=$(cat modules.json | sed "s/[]\"[]//g" | sed "s/,/\n/g" | xargs printf -- "%s:kotlindoc ")" >> $GITHUB_OUTPUT
32-
3327
- name: Build
34-
# Certain SDKs won't export docs, make a blank folder to diff if that's the case
35-
run: mkdir build && ./gradlew ${{ steps.changed-modules.outputs.run }}
28+
run: ./gradlew kotlindoc
3629

3730
- name: Move original docs
3831
run: mv build ~/diff/modified
@@ -42,8 +35,7 @@ jobs:
4235
ref: ${{ github.base_ref }}
4336

4437
- name: Build
45-
# Certain SDKs won't export docs, make a blank folder to diff if that's the case
46-
run: mkdir build && ./gradlew ${{ steps.changed-modules.outputs.run }}
38+
run: ./gradlew kotlindoc
4739

4840
- name: Move modified docs
4941
run: mv build ~/diff/original

0 commit comments

Comments
 (0)