From 07b8d1716c3368de4543965e41a583aada3ade14 Mon Sep 17 00:00:00 2001 From: Ian Wagner Date: Wed, 21 Aug 2024 16:31:49 +0900 Subject: [PATCH] Fix gradle action working directory --- .github/workflows/gradle-publish.yml | 2 ++ 1 file changed, 2 insertions(+) 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 }}