File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 31
31
echo "run=$(cat modules.json | sed "s/[]\"[]//g" | sed "s/,/\n/g" | xargs printf -- "%s:kotlinDoc ")" >> $GITHUB_OUTPUT
32
32
33
33
- name : Build
34
- run : ./gradlew ${{ steps.changed-modules.outputs.run }}
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 }}
35
36
36
37
- name : Move original docs
37
38
run : mv build ~/diff/modified
41
42
ref : ${{ github.base_ref }}
42
43
43
44
- name : Build
44
- run : ./gradlew ${{ steps.changed-modules.outputs.run }}
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 }}
45
47
46
48
- name : Move modified docs
47
49
run : mv build ~/diff/original
62
64
> diff.md
63
65
64
66
- name : Add comment
67
+ continue-on-error : true
65
68
uses : mshick/add-pr-comment@a65df5f64fc741e91c59b8359a4bc56e57aaf5b1
66
69
with :
67
70
message-path : diff.md
You can’t perform that action at this time.
0 commit comments