diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 6875d21..fec53cf 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -43,7 +43,9 @@ jobs: # The USERNAME and TOKEN need to correspond to the credentials environment variables used in # the publishing section of your build.gradle - name: Publish to GitHub Packages - run: ./gradlew release publish + # FIXME: Gradle release publish. Refer: https://github.com/researchgate/gradle-release +# run: ./gradlew release publish + run: ./gradlew publish env: GH_USERNAME: ${{ github.actor }} GH_TOKEN: ${{ secrets.GH_PUBLISH_TOKEN }} diff --git a/build.gradle b/build.gradle index 90d9ce8..3c5e1ed 100644 --- a/build.gradle +++ b/build.gradle @@ -33,10 +33,6 @@ publishing { name = "GitHubPackages" url = "https://maven.pkg.github.com/pgullah/junit-spec-runner" credentials { - println(">> project.findProperty(\"gpr.user\") " + project.findProperty("gpr.user")) - println(">> project.findProperty(\"gpr.key\") " + project.findProperty("gpr.key")) - getLogger().debug(">> project.findProperty(\"gpr.user\") " + project.findProperty("gpr.user")) - getLogger().debug(">> project.findProperty(\"gpr.key\") " + project.findProperty("gpr.key")) username = System.getenv("GH_USERNAME") password = System.getenv("GH_TOKEN") }