Centralized reusable GitHub Actions workflows for the OneLiteFeather organization.
This repository provides standardized CI/CD pipelines that can be reused across multiple projects to ensure consistency, reduce duplication, and simplify maintenance.
In your project repository, create a workflow file:
.github/workflows/pr.yml
Example:
name: Build PR
on:
pull_request:
jobs:
build:
uses: OneLiteFeatherNET/github-workflows/.github/workflows/build-pr-gradle.yml@v1
with:
java-version: "25"
distribution: "temurin"
gradle-task: "clean build"
secrets:
ONELITEFEATHER_MAVEN_USERNAME: ${{ secrets.ONELITEFEATHER_MAVEN_USERNAME }}
ONELITEFEATHER_MAVEN_PASSWORD: ${{ secrets.ONELITEFEATHER_MAVEN_PASSWORD }}In your repository:
Settings → Secrets and variables → Actions
Add the following secrets:
- ONELITEFEATHER_MAVEN_USERNAME
- ONELITEFEATHER_MAVEN_PASSWORD
Always reference a tagged release:
@v1
Do NOT reference @main in production repositories, as breaking changes may be introduced.
Workflow File Description
build-pr-gradle.yml Multi-OS Gradle build for pull requests
Additional workflows may be added over time.
When changes are introduced:
- Update workflow files in this repository.
- Create a new semantic version tag (v1, v2, etc.).
- Consumers upgrade explicitly.
Breaking changes must increment the major version.
This project is licensed under the MIT License.
See the LICENSE file for full details.
Contributions are welcome.
Please open a pull request and ensure that changes remain backward compatible unless clearly versioned.