danysk/Build and delivery a Gradle project
Build and delivery a Gradle project
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Jul 7, 2026
- License
- MIT
Pinned Snippet
uses: danysk/build-check-deploy-gradle-action@0d87404d9fc0f77219b51fffe634ede074c0b3e7 # 4.0.40tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| pre-build-command | A command to be executed before the build phase (but after configuring the JVM) | no | true |
| build-command | The command executed in the build phase | no | ./gradlew build |
| check-command | The command executed in the check phase | no | ./gradlew check |
| clean-command | The command executed in the final clean phase | no | true |
| enable-cache | True if the cache should be enabled | no | true |
| retries-on-failure | How many times every command should be retried before giving up | no | 2 |
| wait-between-retries | How many seconds to wait after a step failure before attempting a new run | no | 5 |
| codecov-directory | The location where CodeCov searches for coverage information | no | build |
| codecov-token | The codecov token for this repository | no | "" |
| deploy-command | The deploy command to execute | no | echo '::error title=No deployment command::Deployment has been required, but no deployment command has been set. Please provide a value for deploy-command |
| gradle-termination-command | The command to terminate the gradle wrapper gracefully | no | ./gradlew --stop |
| java-distribution | The Java distrbutor to use | no | temurin |
| java-version | The Java version to use | no | 21 |
| should-run-codecov | True if the action should send coverage results to codecov.io | no | true |
| should-deploy | True if the deploy operation should be executed | no | false |
| should-validate-wrapper | True if the wrapper should get validated before proceeding | no | true |
| maven-central-username | Username for Maven Central that will be exposed in the deployment step as the environment variables MAVEN_CENTRAL_PASSWORD and ORG_GRADLE_PROJECT_mavenUsername | no | — |
| working-directory | Location where the repository should will be cloned | no | . |
| custom-secret-0 | A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_0 | no | "" |
| custom-secret-1 | A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_1 | no | "" |
| custom-secret-2 | A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_2 | no | "" |
| custom-secret-3 | A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_3 | no | "" |
| custom-secret-4 | A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_4 | no | "" |
| github-token | The GitHub token, it will be exposed in the deployment step as the environment variable GITHUB_TOKEN | no | — |
| gradle-publish-secret | The Gradle Plugin Portal publish secret, it will be exposed in the deployment step as the environment variable GRADLE_PUBLISH_SECRET | no | — |
| gradle-publish-key | The Gradle Plugin Portal publish key, it will be exposed in the deployment step as the environment variable GRADLE_PUBLISH_KEY | no | — |
| maven-central-password | Password for OSSRH / Maven Central, it will be exposed in the deployment step as the environment variables MAVEN_CENTRAL_PASSWORD and ORG_GRADLE_PROJECT_mavenPassword | no | — |
| maven-central-repo | URL for OSSRH / Maven Central Repository, it will be exposed in the deployment step as the environment variables MAVEN_CENTRAL_REPO and ORG_GRADLE_PROJECT_mavenRepo | no | https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ |
| signing-key | ASCII-armored signing key, it will be exposed in the deployment step as the environment variable ORG_GRADLE_PROJECT_signingKey | no | — |
| signing-password | Password for the signing key, it will be exposed in the deployment step as the environment variables ORG_GRADLE_PROJECT_signingPassword and SIGNING_PASSWORD | no | — |
| npm-repo | URL for the NPM registry of choice, it will be exposed in the deployment step as the environment variable ORG_GRADLE_PROJECT_npmRepo | no | https://registry.npmjs.org |
| npm-token | Authorization token for the NPM registry of choice, it will be exposed in the deployment step as the environment variable ORG_GRADLE_PROJECT_npmToken | no | — |
Outputs
no outputs