diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index fe4a3828..07efa55d 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -5,6 +5,7 @@ name: Publish to Maven Central on: release: types: [published] + workflow_dispatch: jobs: build: @@ -38,6 +39,7 @@ jobs: - name: Publish to Maven Central run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache + working-directory: android env: ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }} ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_TOKEN }}