{"id":19472370,"url":"https://github.com/aboutbits/github-actions-java","last_synced_at":"2026-05-15T00:40:19.220Z","repository":{"id":180355966,"uuid":"665007367","full_name":"aboutbits/github-actions-java","owner":"aboutbits","description":"GitHub Actions - Java","archived":false,"fork":false,"pushed_at":"2024-07-25T12:28:34.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-08T05:51:29.232Z","etag":null,"topics":["github-actions","java"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aboutbits.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-11T08:30:34.000Z","updated_at":"2024-07-25T12:27:45.000Z","dependencies_parsed_at":"2024-07-22T18:42:54.329Z","dependency_job_id":null,"html_url":"https://github.com/aboutbits/github-actions-java","commit_stats":null,"previous_names":["aboutbits/github-actions-java"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fgithub-actions-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fgithub-actions-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fgithub-actions-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboutbits%2Fgithub-actions-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboutbits","download_url":"https://codeload.github.com/aboutbits/github-actions-java/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240692398,"owners_count":19842245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["github-actions","java"],"created_at":"2024-11-10T19:14:13.460Z","updated_at":"2025-11-19T00:02:37.530Z","avatar_url":"https://github.com/aboutbits.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub Actions Java\n\nA collection of GitHub actions for Java projects with Maven and Gradle support.\n\n## Actions\n\n### Setup Java with Maven\n\nThis action will set up the Java SDK including Maven.\n\n#### Example:\n\n```yaml\n  - uses: aboutbits/github-actions-java/setup-with-maven@v4\n```\n\n#### Inputs\n\nThe following inputs can be used as `step.with` keys:\n\n| Name                | Required/Default       | Description                                                      |\n|---------------------|------------------------|------------------------------------------------------------------|\n| `working-directory` | `.`                    | The working directory                                            |\n| `java-version`      | `21`                   | Java Version                                                     |\n| `distribution`      | `corretto`             | Java Distribution                                                |\n| `cache`             | `true`                 | Enable Maven/Gradle dependency caching.                          |\n| `cache-name`        | `aboutbits-setup-java` | Cache name. Caches with the same name will share their contents. |\n\n#### Outputs\n\nThe following outputs are forwarded from the underlying `setup-java` and `cache` actions:\n\n| Name   | Description                                                                 |\n|--------|-----------------------------------------------------------------------------|\n| `path` | Path to where the java environment has been installed (same as $JAVA_HOME). |\n\n\n### Setup Java with Gradle\n\nThis action will set up the Java SDK including Gradle.\n\n#### Example:\n\n```yaml\n  - uses: aboutbits/github-actions-java/setup-with-gradle@v4\n```\n\n#### Inputs\n\nThe following inputs can be used as `step.with` keys:\n\n| Name                   | Required/Default | Description                                                 |\n|------------------------|------------------|-------------------------------------------------------------|\n| `working-directory`    | `.`              | The working directory                                       |\n| `java-version`         | `21`             | Java Version                                                |\n| `distribution`         | `corretto`       | Java Distribution                                           |\n| `cache`                | `true`           | Enable Maven/Gradle dependency caching.                     |\n| `cache-encryption-key` |                  | Optional encryption key for the Gradle configuration cache. |\n\n#### Outputs\n\nThe following outputs are forwarded from the underlying `setup-java` and `cache` actions:\n\n| Name   | Description                                                                 |\n|--------|-----------------------------------------------------------------------------|\n| `path` | Path to where the java environment has been installed (same as $JAVA_HOME). |\n\n### Setup Java and Install Dependencies with Maven\n\nThis action will set up the Java SDK and install all dependencies using Maven.\n\n#### Example:\n\n```yaml\n  - uses: aboutbits/github-actions-java/setup-and-install-with-maven@v4\n```\n\n#### Inputs\n\nThe following inputs can be used as `step.with` keys:\n\n| Name                | Required/Default       | Description                                                      |\n|---------------------|------------------------|------------------------------------------------------------------|\n| `working-directory` | `.`                    | The working directory                                            |\n| `java-version`      | `21`                   | Java Version                                                     |\n| `distribution`      | `corretto`             | Java Distribution                                                |\n| `cache`             | `true`                 | Enable Maven/Gradle dependency caching.                          |\n| `cache-name`        | `aboutbits-setup-java` | Cache name. Caches with the same name will share their contents. |\n\n#### Outputs\n\nThe following outputs are forwarded from the underlying `setup-java` and `cache` actions:\n\n| Name   | Description                                                                 |\n|--------|-----------------------------------------------------------------------------|\n| `path` | Path to where the java environment has been installed (same as $JAVA_HOME). |\n\n### Setup Java and Install Dependencies with Gradle\n\nThis action will set up the Java SDK and install all dependencies using Gradle.\n\n#### Example:\n\n```yaml\n  - uses: aboutbits/github-actions-java/setup-and-install-with-gradle@v4\n```\n\n#### Inputs\n\nThe following inputs can be used as `step.with` keys:\n\n| Name                   | Required/Default | Description                                                 |\n|------------------------|------------------|-------------------------------------------------------------|\n| `working-directory`    | `.`              | The working directory                                       |\n| `java-version`         | `21`             | Java Version                                                |\n| `distribution`         | `corretto`       | Java Distribution                                           |\n| `cache`                | `true`           | Enable Maven/Gradle dependency caching.                     |\n| `cache-encryption-key` |                  | Optional encryption key for the Gradle configuration cache. |\n\n#### Outputs\n\nThe following outputs are forwarded from the underlying `setup-java` and `cache` actions:\n\n| Name    | Description                                                                 |\n|---------|-----------------------------------------------------------------------------|\n| `path`  | Path to where the java environment has been installed (same as $JAVA_HOME). |\n\n### Set Version with Maven\n\nThis action will set the given version in a pom.xml file.\n\n#### Example:\n\n```yaml\n  - uses: aboutbits/github-actions-java/set-version-with-maven@v4\n```\n\n#### Inputs\n\nThe following inputs can be used as `step.with` keys:\n\n| Name                   | Required/Default | Description           |\n|------------------------|------------------|-----------------------|\n| `working-directory`    | `.`              | The working directory |\n| `version`              | Required         | Package version       |\n\n## Gradle cache configuration\n\nTo enable the Gradle configuration cache, which further improves the build performance in addition to the default enabled wrapper/script/dependency/build cache, pass a secret to the `cache-encryption-key` input.\nIf you do not specify `cache-encryption-key`, Gradle will still work, but the configuration cache will not be saved.\nhttps://github.com/gradle/actions/blob/main/docs/setup-gradle.md#saving-configuration-cache-data\n\n## Build \u0026 Publish\n\nTo build and publish the action, visit the GitHub Actions page of the repository and trigger the workflow \"Release Package\" manually.\n\n## Information\n\nAbout Bits is a company based in South Tyrol, Italy. You can find more information about us\non [our website](https://aboutbits.it).\n\n### Support\n\nFor support, please contact [info@aboutbits.it](mailto:info@aboutbits.it).\n\n### Credits\n\n- [All Contributors](../../contributors)\n\n### License\n\nThe MIT License (MIT). Please see the [license file](license.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutbits%2Fgithub-actions-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboutbits%2Fgithub-actions-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboutbits%2Fgithub-actions-java/lists"}