https://github.com/sormuras/bach-build
🎶 An action that builds modular Java projects
https://github.com/sormuras/bach-build
Last synced: 11 months ago
JSON representation
🎶 An action that builds modular Java projects
- Host: GitHub
- URL: https://github.com/sormuras/bach-build
- Owner: sormuras
- Created: 2020-10-05T05:19:18.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2022-05-26T10:01:13.000Z (about 4 years ago)
- Last Synced: 2025-03-01T17:48:10.284Z (over 1 year ago)
- Language: Shell
- Homepage: https://github.com/sormuras/bach
- Size: 286 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bach-build
This action builds modular Java projects via calling [Bach](https://github.com/sormuras/bach).
It requires [JDK 17](https://jdk.java.net/17) or higher to be installed.
## Inputs
```yaml
bach-arguments:
required: true
default: 'build'
description: 'The arguments to be passed to Bach.
Defaults to `build`.'
bach-version:
required: true
default: 'HEAD'
description: 'The version of Bach to initialize.
Find available versions listed at https://github.com/sormuras/bach/releases.
Defaults to `HEAD`.'
working-directory:
required: true
default: ${{ github.workspace }}
description: 'The working directory to change into.
Defaults to the common GitHub workspace directory'
```
## Outputs
_None, yet._
## Examples
### Minimal
Minimal example
```yaml
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
- uses: sormuras/bach-build@v1
with:
bach-version: HEAD
```