Skip to content

Commit 75e9a03

Browse files
committed
CI: use dokkaGenerate task of root project
As triggering it for all projects would do extra work
1 parent 0c22c48 commit 75e9a03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
cache-read-only: true
3232

3333
- name: Generate KDocs
34-
run: ./gradlew dokkaGenerate
34+
run: ./gradlew :dokkaGenerate
3535

3636
- name: Upload artifact
3737
uses: actions/upload-pages-artifact@v4

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
- name: Build KDocs
3535
# Run even if tests failed, but only on PRs
3636
if: ${{ !cancelled() && github.event_name == 'pull_request' }}
37-
run: ./gradlew dokkaGenerate
37+
run: ./gradlew :dokkaGenerate
3838

3939
- name: Publish snapshot
4040
# Workflow dispatch, push or pull request from the original repo

0 commit comments

Comments
 (0)