danysk/Build and delivery a Gradle project

Build and delivery a Gradle project

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: danysk/build-check-deploy-gradle-action@0d87404d9fc0f77219b51fffe634ede074c0b3e7 # 4.0.40

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
pre-build-commandA command to be executed before the build phase (but after configuring the JVM)notrue
build-commandThe command executed in the build phaseno./gradlew build
check-commandThe command executed in the check phaseno./gradlew check
clean-commandThe command executed in the final clean phasenotrue
enable-cacheTrue if the cache should be enablednotrue
retries-on-failureHow many times every command should be retried before giving upno2
wait-between-retriesHow many seconds to wait after a step failure before attempting a new runno5
codecov-directoryThe location where CodeCov searches for coverage informationnobuild
codecov-tokenThe codecov token for this repositoryno""
deploy-commandThe deploy command to executenoecho '::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-commandThe command to terminate the gradle wrapper gracefullyno./gradlew --stop
java-distributionThe Java distrbutor to usenotemurin
java-versionThe Java version to useno21
should-run-codecovTrue if the action should send coverage results to codecov.ionotrue
should-deployTrue if the deploy operation should be executednofalse
should-validate-wrapperTrue if the wrapper should get validated before proceedingnotrue
maven-central-usernameUsername for Maven Central that will be exposed in the deployment step as the environment variables MAVEN_CENTRAL_PASSWORD and ORG_GRADLE_PROJECT_mavenUsernameno
working-directoryLocation where the repository should will be clonedno.
custom-secret-0A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_0no""
custom-secret-1A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_1no""
custom-secret-2A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_2no""
custom-secret-3A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_3no""
custom-secret-4A custom secret that will be exposed in the deployment step as the environment variable CUSTOM_SECRET_4no""
github-tokenThe GitHub token, it will be exposed in the deployment step as the environment variable GITHUB_TOKENno
gradle-publish-secretThe Gradle Plugin Portal publish secret, it will be exposed in the deployment step as the environment variable GRADLE_PUBLISH_SECRETno
gradle-publish-keyThe Gradle Plugin Portal publish key, it will be exposed in the deployment step as the environment variable GRADLE_PUBLISH_KEYno
maven-central-passwordPassword for OSSRH / Maven Central, it will be exposed in the deployment step as the environment variables MAVEN_CENTRAL_PASSWORD and ORG_GRADLE_PROJECT_mavenPasswordno
maven-central-repoURL for OSSRH / Maven Central Repository, it will be exposed in the deployment step as the environment variables MAVEN_CENTRAL_REPO and ORG_GRADLE_PROJECT_mavenReponohttps://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
signing-keyASCII-armored signing key, it will be exposed in the deployment step as the environment variable ORG_GRADLE_PROJECT_signingKeyno
signing-passwordPassword for the signing key, it will be exposed in the deployment step as the environment variables ORG_GRADLE_PROJECT_signingPassword and SIGNING_PASSWORDno
npm-repoURL for the NPM registry of choice, it will be exposed in the deployment step as the environment variable ORG_GRADLE_PROJECT_npmReponohttps://registry.npmjs.org
npm-tokenAuthorization token for the NPM registry of choice, it will be exposed in the deployment step as the environment variable ORG_GRADLE_PROJECT_npmTokenno

no outputs