An open API service indexing awesome lists of open source software.

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

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
```