Skip to content

Commit

Permalink
fix: correct check name for publication and minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
wax911 committed May 3, 2024
1 parent 81e9616 commit 3dc4fe5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/android-publish-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,18 @@ jobs:
with:
ref: ${{ github.ref }}
running-workflow-name: android-publish-artifact
check-name: android-unit-test
check-name: unit
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 20
- uses: gradle/actions/setup-gradle@v3
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build artifacts
run: |
./gradlew clean build
- name: Publish to local maven
run: |
./gradlew build publishMavenPublicationToMavenLocal
./gradlew publishMavenPublicationToMavenLocal
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private fun Project.createMavenPublicationUsing(sourcesJar: Jar) {
}

private fun Project.createDokkaTaskProvider() = tasks.named<DokkaTask>("dokkaHtml") {
outputDirectory.set(buildDir.resolve("docs/dokka"))
outputDirectory.set(project.layout.buildDirectory.dir("docs/dokka").get())

// Set module name displayed in the final output
moduleName.set(this@createDokkaTaskProvider.name)
Expand Down

0 comments on commit 3dc4fe5

Please sign in to comment.