https://github.com/jetty/.github
https://github.com/jetty/.github
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jetty/.github
- Owner: jetty
- Created: 2023-10-17T06:19:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-10T16:55:52.000Z (about 1 year ago)
- Last Synced: 2025-01-10T17:42:19.007Z (about 1 year ago)
- Language: Groovy
- Homepage: https://eclipse.dev/jetty
- Size: 21.5 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# .github
## Reusable GitHub Action
This repostiory contains some pre defined/re usable GitHub Actions to avoid copy/paste the same code in multiple repositories
Simply use
```yaml
jobs:
build:
name: Maven Build CI
uses: jetty/.github/.github/workflows/maven-ci.yml@main
with:
jdk-matrix: '[ "11" ]'
verify-goal: 'install javadoc:javadoc -e -B -V'
...... nore parameters
```
### Parameters
`maven_args`: contains some Apache Maven arguments (default: `-D"invoker.streamLogsOnFailures"`)
`maven_version`: Apache Maven version to use (default: `3.9.5`)
`os-matrix`: array of os to use as matrix (default: `[ "ubuntu-latest" ]`) (possible values: `[ "ubuntu-latest", "windows-latest", "macOS-latest" ]` )
`jdk-matrix`: array of jdk to use (default: `[ "11", "17" ]`)
`matrix-exclude`: array of exclusion from the matrix (default: none) (format: `'[{ "jdk": "8", "distribution": "microsoft"},{ "jdk": "20", "distribution": "microsoft"}}`)
`max-parallel`: maximum of jobs in parallel (default: 100)
`timeout-minutes`: total timeout for the build (default: 360)
`jdk-distribution-matrix`: matrix of jdk distribution to use (default: `[ "temurin" ]`)
`verify-goal`: Apache Maven goals to use (default: `install javadoc -e -V -B`)
`verify-fail-fast`: fail fast of the build in case of one part of the matrix failure (default: `true`)