Skip to content

Commit 494c3d3

Browse files
authored
Merge pull request #18 from SLNE-Development/feat/dokka
Feat/dokka
2 parents bbce3a7 + 44223c6 commit 494c3d3

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ jobs:
3030
# Print the values
3131
echo "artifact=$ARTIFACT"
3232
33-
# Set the environment variables and outputs
34-
echo "ARTIFACT=$ARTIFACT" >> $GITHUB_ENV
33+
# Set the output
34+
echo "::set-output name=artifact::$ARTIFACT"
3535
3636
- name: Setup Gradle
3737
uses: gradle/actions/setup-gradle@v3
@@ -42,14 +42,13 @@ jobs:
4242
- name: Zip docs
4343
run: |
4444
mkdir -p artifacts
45-
zip -r artifacts/${{ steps.define-ids.outputs.artifact }} build/dokka/html
45+
zip -r artifacts/${{ needs.build.outputs.artifact }} build/dokka/html
4646
4747
- name: Upload artifact
4848
uses: actions/upload-artifact@v4
4949
with:
5050
name: docs
51-
path: artifacts/${{ steps.define-ids.outputs.artifact }}
52-
51+
path: artifacts/${{ needs.build.outputs.artifact }}
5352

5453
deploy:
5554
environment:

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ allprojects {
1010
mavenCentral()
1111
}
1212

13-
if (subprojects.isEmpty()) {
14-
apply(plugin = rootProject.libs.plugins.dokka.get().pluginId)
15-
}
13+
// if (subprojects.isEmpty()) {
14+
// apply(plugin = rootProject.libs.plugins.dokka.get().pluginId)
15+
// }
1616
}
1717

1818
dependencies {

surf-api-bukkit/surf-api-bukkit-api/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
`core-convention`
3+
alias(libs.plugins.dokka)
34
}
45

56
dependencies {

surf-api-core/surf-api-core-api/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
`core-convention`
3+
alias(libs.plugins.dokka)
34
}
45

56
dependencies {

surf-api-velocity/surf-api-velocity-api/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
plugins {
22
`core-convention`
3+
alias(libs.plugins.dokka)
34
}
45

56
dependencies {

0 commit comments

Comments
 (0)